JavaScript based Markdown parser without dependencies.
1.3kB markdown parser (gzipped + minified)
npm install -S micro-down
- Headlines:
### Headline
- Inline:
*italic*, **bold**, ***bold italic***
- `
_code_="- something";
` or direct escaping with \ ~underline~, ~~strike through~~, ~~~deleted~~~
- Blocks:
- pre format blocks: surrounded by ```
- div blocks:
""" just a div block """
- blockquotes:
> something
- class support
- Anchors:
#[jump-here]
- Links:
[Label](destination Title)
- URL auto linking
https://github.com/coding-intl/micro-down
- URL auto linking
- Images:
![label](source altText))
- linked:
[![label](source altText))](destination Title)
- linked:
- IFrames:
&[class](url)
&[width,height,frame class](url)
- Lists:
- Unordered lists using:
+
and-
- Ordered lists using:
1.
- Nested lists
- Unordered lists using:
- Tables:
| some | text |
- Header row:
|- header -|- row -|
or by a following|---
- Header row:
- Comments
<!-- # Comment -->