transformime-commonmark

0.1.0 • Public • Published

transformime-commonmark

Transformer using commonmark.js

npm install transformime-commonmark

Usage with transformime:

> markdownTransform = require('transformime-commonmark');

> el = mdt.transform("text/markdown", "```python\nimport this\n```\n", document);
> el.innerHTML
'<pre><code class="language-python">import this\n</code></pre>\n'

Package Sidebar

Install

npm i transformime-commonmark

Weekly Downloads

4

Version

0.1.0

License

BSD-3-Clause

Last publish

Collaborators

  • captainsafia
  • lgeiger
  • blink1073
  • wfwhitney
  • jdfreder
  • rgbkrk