diff --git a/index.ts b/index.ts index b1cfd75..51637c5 100644 --- a/index.ts +++ b/index.ts @@ -16,7 +16,10 @@ async function main(blockId: string) { let newBlockContent = ""; if (!pageRegx.test(firstLine)) { - newBlockContent = block.content.replace(firstLine, `[[${firstLine}]]`); + newBlockContent = block.content.replace( + firstLine, + `{{embed [[${firstLine}]]}}` + ); } await createPageIfNotExist(pageName);