oleeskild / digitalgarden

275 stars 158 forks source link

Obisidian admonition/internal call out rendering not working #209

Open anantshri opened 11 months ago

anantshri commented 11 months ago

I have a note with

> [!note]

When this note is in place the rendered error's out.

[eleventy] [11ty] Problem writing Eleventy templates: (more in DEBUG output)
[eleventy] [11ty] 1. Having trouble writing to "dist/thoughts/world-governance/index.html" from "./src/site/notes/100-Personal/180-Thoughts/World Governance.md" (via EleventyTemplateError)
[eleventy] [11ty] 2. Transform `callout-block` encountered an error when transforming ./src/site/notes/100-Personal/180-Thoughts/World Governance.md. (via EleventyTransformError)
[eleventy] [11ty] 3. Cannot read properties of undefined (reading 'replace') (via TypeError)
[eleventy] [11ty]
[eleventy] [11ty] Original error stack trace: TypeError: Cannot read properties of undefined (reading 'replace')
[eleventy] [11ty]     at /PATH_TO_FOLDER/.eleventy.js:331:37
[eleventy] [11ty]     at String.replace (<anonymous>)
[eleventy] [11ty]     at transformCalloutBlocks (/PATH_TO_FOLDER/.eleventy.js:326:27)
[eleventy] [11ty]     at Object.<anonymous> (/PATH_TO_FOLDER/.eleventy.js:357:5)
[eleventy] [11ty]     at Object.<anonymous> (/PATH_TO_FOLDER/node_modules/@11ty/eleventy/src/BenchmarkGroup.js:32:26)
[eleventy] [11ty]     at Template.runTransforms (/PATH_TO_FOLDER/node_modules/@11ty/eleventy/src/Template.js:514:30)
[eleventy] [11ty]     at Template.renderPageEntry (/PATH_TO_FOLDER/node_modules/@11ty/eleventy/src/Template.js:799:26)
[eleventy] [11ty]     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[eleventy] [11ty]     at async /PATH_TO_FOLDER/node_modules/@11ty/eleventy/src/Template.js:822:21
[eleventy] [11ty]     at async Promise.all (index 0)
[eleventy] [11ty] Copied 12 files / Wrote 5 files in 0.78 seconds (v2.0.1)

Any suggestion?