@faubulous/mentor-rdf-serializers
    Preparing search index...

    Class TriplateFrontmatterFormatter

    Formats the ---…--- frontmatter block of a Triplate template from its parsed AST: a canonical params { … } / example id { … } layout, one declaration per line at the requested indent, with # comments preserved and re-indented in place.

    The frontmatter is Triplate's own syntax (not RDF), so it is reprinted from triplate's compiled AST rather than the host token stream. The formatter never corrupts: on any failure — including if the reprint would not parse back — it returns the original frontmatter verbatim.

    Index

    Constructors

    Methods

    Constructors

    Methods