jupyter-book / mystmd

Command line tools for working with MyST Markdown.
https://mystmd.org/guide
MIT License
219 stars 64 forks source link

Invalid `embed` directive labels do not error #1625

Open fwkoch opened 2 weeks ago

fwkoch commented 2 weeks ago

If you have an {embed} directive with a label that does not exist in your myst project, it just fails silently. I think we just need a warning/error here: https://github.com/jupyter-book/mystmd/blob/main/packages/myst-cli/src/transforms/embed.ts#L198 (but that should be investigated and confirmed...)

See Also: