You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Snippets and macros don't work well together. Macros run before snippets, and snippets themselves are not processed by macros, since they are not visible as first-class pages/content to the Markdown renderer. This is true for MkDocs, as it is for Zensical.
With Zensical, we aim to find a better way to integrate the functionality that snippets and macros provide, specifically:
Content reuse
Content generation
Conditionals
As a workaround, people can use macros for inclusion of Markdown documents, as those will be processed recursively.
Tip
Subscribe to this issue to get notified when the status of this item changes, or this functionality becomes available.
Description
Snippets and macros don't work well together. Macros run before snippets, and snippets themselves are not processed by macros, since they are not visible as first-class pages/content to the Markdown renderer. This is true for MkDocs, as it is for Zensical.
With Zensical, we aim to find a better way to integrate the functionality that snippets and macros provide, specifically:
As a workaround, people can use macros for inclusion of Markdown documents, as those will be processed recursively.
Tip
Subscribe to this issue to get notified when the status of this item changes, or this functionality becomes available.