# micromarkdown

> converts markdown to html

Latest version **0.3.4-a** (published 2015-10-10) · 0 weekly downloads

## Install

```sh
npm install micromarkdown
pnpm add micromarkdown
yarn add micromarkdown
bun add micromarkdown
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.4-a |
| Published | 2015-10-10 |
| First published | 2013-12-14 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 217 |
| Author | Simon Waldherr |
| Maintainers | simonwaldherr |
| Keywords | micromarkdown, markdown, gfm, md, html, parser |

## Links

- npm: https://www.npmjs.com/package/micromarkdown
- Repository: https://github.com/SimonWaldherr/micromarkdown.js
- Issues: https://github.com/SimonWaldherr/micromarkdown.js/issues
- npm.io page: https://npm.io/package/micromarkdown

## Alternatives

- [@mdxeditor/editor](https://npm.io/package/@mdxeditor/editor.md) — 962.4K weekly downloads
- [mmdb-lib](https://npm.io/package/mmdb-lib.md) — 680.9K weekly downloads
- [playcanvas](https://npm.io/package/playcanvas.md) — 36.2K weekly downloads
- [@glw907/cairn-cms](https://npm.io/package/@glw907/cairn-cms.md) — 967 weekly downloads
- [markdown-to-confluence](https://npm.io/package/markdown-to-confluence.md) — 103 weekly downloads

## Recent versions

- 0.3.4-a (latest) — 2015-10-10
- 0.3.4 — 2015-10-10
- 0.3.1 — 2014-10-10
- 0.3.0 — 2014-08-31
- 0.1.5 — 2014-01-05
- 0.1.4 — 2013-12-14

## README

# ![micromarkdown.js](http://simonwaldherr.de/umd.png)

[![Build Status](https://travis-ci.org/SimonWaldherr/micromarkdown.js.svg?branch=master)](https://travis-ci.org/SimonWaldherr/micromarkdown.js)
[![Flattr donate button](https://raw.github.com/balupton/flattr-buttons/master/badge-89x18.gif)](https://flattr.com/submit/auto?user_id=SimonWaldherr&url=http%3A%2F%2Fgithub.com%2FSimonWaldherr%2Fmicromarkdown.js "Donate monthly to this project using Flattr")

convert [markdown](http://en.wikipedia.org/wiki/Markdown) to [HTML](http://en.wikipedia.org/wiki/HTML) in under 5kb  
take a look at the to PHP translated version: https://github.com/SimonWaldherr/micromarkdown.php

## about

License:   MIT  
Version: 0.3.4  
Date:  10.2015  

## howto

### browser

```html
<script type="text/javascript" src="//simonwaldherr.github.io/micromarkdown.js/dist/micromarkdown.min.js"></script>
```

```js
var input = document.getElementById('input').value,
    outputEle = document.getElementById('outEle');

outputEle.innerHTML = micromarkdown.parse(input);
```

### node

install via npm

```sh
npm install micromarkdown
```

```node
var mmd = require('micromarkdown');
console.log(mmd.parse('*foobar*\n**lorem** ***ipsum***\n\n* this\n* is a\n* list\n'));
```

or take a look at the ***nodemmd.js*** node example

```sh
node nodemmd.js
```

## demo

Test this code on the associated github page [simonwaldherr.github.io/micromarkdown.js/](http://simonwaldherr.github.io/micromarkdown.js/).  
There is also a [Testpage](http://simonwaldherr.github.io/micromarkdown.js/test.html) and a [diff between the php and the js version](http://simonwaldherr.github.io/micromarkdown.js/diff.html).

## contact

Feel free to contact me via [eMail](mailto:contact@simonwaldherr.de) or on [Twitter](http://twitter.com/simonwaldherr). This software will be continually developed. Suggestions and tips are always welcome.

---
_Source: https://npm.io/package/micromarkdown · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
