
microlight.js is a lightweight JavaScript library that provides the Syntax Highlighting functionality for any languages to improve code readability.
How to use it:
Just include the microlight.js on the webpage and we’re ready to go.
<script src="microlight.js"></script>
Wrap your code snippets into a DIV element with the CSS class of ‘microlight’.
<div class=microlight> codes here </div>
That’s it. You can add your custom css styles as this:
.microlight {
font-family : monospace;
white-space : pre;
...
}






