Roave / DocbookTool

:books: Docbook Tool for static documentation generation from Markdown files
52 stars 4 forks source link

Adds support for embedding a file in code blocks #357

Closed asgrim closed 9 months ago

asgrim commented 9 months ago

Writing something like:

## Inline some JSON

{{src-json:example.json}}

Will pull in and render the JSON file, such as:

<h2>Inline some JSON</h2>

<p><pre><code class="lang-json">{
    &quot;example&quot;: &quot;json&quot;
}
</code></pre></p>