This is just a test of abusing the hljs css tags to get text highlighting that the editor won't blow away.
I removed the ones which seemed to have no effect.
Use like this: <span class="hljs-keyword">Your text</span>
hljs-keyword
hljs-built_in
hljs-type
hljs-literal
hljs-number
hljs-regexp
hljs-string
hljs-subst
hljs-symbol
hljs-class
hljs-function
hljs-title
hljs-comment
hljs-doctag
hljs-tag
hljs-name
hljs-attribute
hljs-variable
hljs-addition
hljs-deletion
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.