Closed
Description
To support synatx highlighting for blocks of markdown, we would need to:
- identify the block
- determine the source type (e.g. the language post-fix at the start of the block)
- extract the block body
- run in through a syntax highlighter
- return the HTML
This could be done with either the following oldie-but-goodie or something like it:
Then, there's the JS approach where we could use this:
I guess it's more modern to go with the latter approach ;-) Will need to figure out how it works:
(Note, content for this ticket taken from a comment in lfe-deprecated/docs3#1 made on Mar 14, 2016.)
Part of epic #66