We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fb075a commit 2d4551eCopy full SHA for 2d4551e
src/pull.ts
@@ -191,7 +191,7 @@ async function outputPage(page: NotionPage) {
191
// console.log(JSON.stringify(mdBlocks, null, 2));
192
// }
193
let frontmatter = "---\n";
194
- frontmatter += `title: ${page.nameOrTitle.replaceAll(":", ":")}\n`; // markdown can't handle the ":" here
+ frontmatter += `title: ${page.nameOrTitle.replaceAll(":", "-")}\n`; // I have not found a way to escape colons
195
frontmatter += `sidebar_position: ${currentSidebarPosition}\n`;
196
frontmatter += `slug: ${page.slug ?? ""}\n`;
197
if (page.keywords) frontmatter += `keywords: [${page.keywords}]\n`;
0 commit comments