mdsmith
Esc
    v0.52.0 GitHub

    Directives

    Guides to mdsmith’s content directives — generating content with <?catalog?> and <?include?>, enforcing structure with schemas, declaring build artifacts, and moving from Hugo templates.

    • Build directive — How to use the build directive to declare artifact outputs and source inputs, keep generated bodies in sync, and configure user-declared recipes.
    • Coming from Hugo — Key differences between Hugo templates and mdsmith directives for users familiar with Hugo.
    • Enforcing Document Structure with Schemas — How to use schemas, require, and allow-empty-section to validate headings, front matter, and filenames.
    • Generating Content with Directives — How to use catalog and include directives to generate and embed content in Markdown files.