elm-markdown
elm-markdown copied to clipboard
Add 'hljs' CSS class to code blocks.
Currently the class is not added by marked nor by highlight.js itself, and the rendered code will lack attributes such as background colour and others that are defined by highlight.js styles on that particular class.
This workaround is based on https://github.com/chjj/marked/pull/418#issuecomment-65939773.