1.1.0 • Published 5 years ago

markdown-pre v1.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

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