Skip to content
This repository has been archived by the owner on Aug 28, 2017. It is now read-only.

nteract/transformime-commonmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deprecated: This transformer is now part of transformime

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'