Snippets executed as command via command palette do not have access to the page meta information, thus the snippet will render e.g. {{name}} as undefined
When executing this via slash command everything works as expected. When executing via command palette, it will render thePageName: undefined in frontmatter.
Snippets executed as command via command palette do not have access to the page meta information, thus the snippet will render e.g.
{{name}}
asundefined
Minimal Example:
snippet.md
When executing this via slash command everything works as expected. When executing via command palette, it will render
thePageName: undefined
in frontmatter.