- Notifications
You must be signed in to change notification settings - Fork0
highlights code in any programming language
License
dasmurphy/microlighted
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
mcirolighted.js is a complete rewritten version ofmicrolight.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 onmicrolight.js please look athttps://github.com/asvd/microlight
About
highlights code in any programming language
Resources
License
Stars
Watchers
Forks
Packages0
Languages
- JavaScript100.0%