MarkdownGenerator

Generates human-readable Markdown from a metamodel tree.

The generator walks the model depth-first and renders:

Children are discovered via nested Kotlin object declarations (reflection), which makes it easy to author small "static" models directly in code.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Renders root (and its nested children) into a Markdown document.

Link copied to clipboard
fun printMarkdown(root: MetamodelEntity, out: PrintStream = System.out)

Convenience wrapper around generateMarkdown that writes to out.

Generated with STIG