3 ms·
I like this approach of using the tag associated with a code block to determine how to render the output. It's the same approach I take in my markdown-derived m
by smasher164 5y ago
I like this approach of using the tag associated with a code block to determine how to render the output. It's the same approach I take in my markdown-derived markup language: https://github.com/smasher164/mexdown https://github.com/smasher164/mexdown.
The top example there takes a GraphViz description and passes it into the dot command, placing the resultant SVG into the HTML output.