elm-markdown icon indicating copy to clipboard operation
elm-markdown copied to clipboard

Add 'hljs' CSS class to code blocks.

Open tiziano88 opened this issue 8 years ago • 0 comments

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.

tiziano88 avatar Apr 25 '16 12:04 tiziano88