https://github.com/developit/picomarkdown
Converts basic markdown to HTML.
https://github.com/developit/picomarkdown
Last synced: 9 months ago
JSON representation
Converts basic markdown to HTML.
- Host: GitHub
- URL: https://github.com/developit/picomarkdown
- Owner: developit
- License: mit
- Created: 2014-10-27T00:49:36.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2017-06-03T19:43:16.000Z (over 8 years ago)
- Last Synced: 2025-04-10T11:16:09.731Z (9 months ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
Picomarkdown [](https://www.npmjs.org/package/picomarkdown) [](http://bower.io/search/?q=picomarkdown)
============
This is a trimmed-down version of [Micromarkdown.js](https://github.com/SimonWaldherr/micromarkdown.js).
It is smaller, and doesn't support the AJAX/include or tables functionalities.
Demo
----
Here's a simple JSFiddle demo of the parser:
**[Picomarkdown Demo](http://jsfiddle.net/developit/Lg5mcane/)**
About
-----
License: **MIT**
Version: **0.1.0**
Date: **10.2014**
Usage
-----
Adjust to suit your preferred module format.
```js
var md = require('picomarkdown');
var html = md.parse('*this* is __easy__ to `use`.');
console.log(html);
```
Credits
-------
All credit for Picomarkdown goes to the author of [Micromarkdown.js](https://github.com/SimonWaldherr/micromarkdown.js), on which this library is shamelessly based: [Simon Waldherr](http://twitter.com/simonwaldherr).