This package has been deprecated

Author message:

Renamed to remark-midas without API changes.

mdast-midas

1.1.0 • Public • Published

mdast-midas Build Status NPM version Dependency Status

Highlight CSS in Markdown files with midas.

Install

With npm do:

npm install mdast-midas --save

Example

mdast-midas is designed to work with mdast-html:

var mdast = require('mdast');
var html  = require('mdast-html');
var midas = require('mdast-midas');
 
var markdown = '```css\nh1 {\n    color: red;\n}\n```\n';
var result = mdast.use([ html, midas ]).process(markdown);
console.log(result);
 
//=> Compiled HTML with highlighted CSS!

Contributing

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

License

MIT © Ben Briggs

/mdast-midas/

    Package Sidebar

    Install

    npm i mdast-midas

    Weekly Downloads

    1

    Version

    1.1.0

    License

    MIT

    Last publish

    Collaborators

    • beneb