Syntax highlighter based on PostCSS.
Clone or download


A CSS syntax highlighter based on PostCSS.

Build Status NPM version Dependency Status

midas generates a highly customisable base for syntax highlighting in HTML. Simply pass in a CSS string and it will generate a HTML output. You can then pair it with any of the included themes, or just as easily write your own.

For further details, check out the website!


Pull requests are welcome. If you add functionality, then please add unit tests to cover it.


Please help to support this project by purchasing a midas sticker.


Base 16 themes used by this module are MIT © 2012 Chris Kempson & contributors.

MIT © Ben Briggs