Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Add 'hljs' CSS class to code blocks. #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tiziano88
Copy link

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
markedjs/marked#418 (comment).

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
markedjs/marked#418 (comment).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant