Skip to content

Feature Request: nesting templates #160

@adriancostin6

Description

@adriancostin6

It would be great if we could nest templates using a nested_template parameter configured in the YAML block.

What I thought of is something similar to dropdown, but for selecting templates instead of elements from a pre-defined list.
Afterwards, the plugin would read that file in and dump the contents when adding {{nested_template}}.
Of course, if the user wants add multiple nested templates he can just define extra yaml parameters for that.

Since we already have the option of inserting templates with a dropdown, I think we could also expose that functionality via a function that can be called in the YAML. I do not have the knowledge on the codebase (yet), but am eager to explore this if it is of interest. Let's talk about it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions