Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Obisidian admonition/internal call out rendering not working #209

Open
anantshri opened this issue Oct 9, 2023 · 0 comments
Open

Obisidian admonition/internal call out rendering not working #209

anantshri opened this issue Oct 9, 2023 · 0 comments

Comments

@anantshri
Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant