Skip to content

Enhancement: Parse sections from snippets #649

Description

@estruyf

Parse the variables from template sections to allow optional template variables.

For example when the label field is empty, it should not be rendered:

Xnapper-2023-09-06-13 38 46

When the label field contains data:

Xnapper-2023-09-06-13 39 47
:::{{type}}{{#label}}{{[label}}]{{/label}}
{{&content}}
:::

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions