markdown-pre

1.1.0 • Public • Published

Build Status

markdown-pre

I am markdown-pre, built on markdown-it.

I convert the contents of the first <PRE> HTML element I find on the page from Markdown to HTML, using a one-line Javascript include. I also inject a default stylesheet.

Zero configuration!

<pre>
 
# Hello world!
 
Lorem ipsum dolor sit amet, dolor voluptua est ad …
 
</pre>
 
<script src="https://unpkg.com/markdown-pre@^1"></script>

Simple?!

License

License: MIT

Readme

Keywords

none

Package Sidebar

Install

npm i markdown-pre

Weekly Downloads

1

Version

1.1.0

License

MIT

Unpacked Size

262 kB

Total Files

4

Last publish

Collaborators

  • nfreear