Existing Dactyl sites use a JavaScript solution like highlight.js to provide syntax highlighting for code blocks. This runs in the browser, which means more to download and more to run on the client side, on every page view. For everything except API tools, syntax highlighting only has to be done once, at compile time.
The CodeHilite extension, which comes with Python-Markdown, can do this as part of the Markdown-parsing build step.
Then sites just need the appropriate CSS, with option to customize.
Existing Dactyl sites use a JavaScript solution like highlight.js to provide syntax highlighting for code blocks. This runs in the browser, which means more to download and more to run on the client side, on every page view. For everything except API tools, syntax highlighting only has to be done once, at compile time.
The CodeHilite extension, which comes with Python-Markdown, can do this as part of the Markdown-parsing build step.
Then sites just need the appropriate CSS, with option to customize.