Skip to content

Proposal: Content reuse, generation, and conditionals #152

Description

@squidfunk

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:

  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Accepted

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions