mcirolighted.js is a complete rewritten version of microlight.js
This is a work in progress version of restructuring the library and making it a little better for real syntax highlighting.
--
microlighted.js is a small library which improves readability of code snippets by highlighting, for any programming language, without attaching additional language packages.
Differences from original library include more detection of other things like numbers, hex, html tokens and more. It is based on css styles and not on inline style in the html code.
This library can be universally used, but is optimized for HTML, CSS and Javascript.
--
- name will be microlighted.js
- html tokens in brackets or before spaces
- attributes in brackets but not first
numbers- number with # and text after
functions before braces- language detection html/css/js
bracketsoperators- change classes to single item
- replace tabs with spaces option
--
For more information on microlight.js please look at https://github.com/asvd/microlight