Markdown parser, simplicity and extensibility.
npm install smarkdown





> Markdown parser, simplicity and extensibility. Fork of marked and marked-ts.
- Awesome: ES6, TypeScript, Rollup, Jest...
- Extensible: Add your own extensions
- Fast: Low-level compiler for parsing markdown without caching or blocking for long periods of time
- Lightweight: It's 10kb of minified and gzipped
``sh`
yarn add smarkdownor
npm install smarkdown
browser (CDN): jsDelivr | unpkg
Import the library as a module:
`js`
const Smarkdown = require('smarkdown');
Or import the library with a script tag:
`html`
Example:
`js
const str = 'I am using Smarkdown.';
console.log(Smarkdown.parse(str));
//
I am using Smarkdown.
console.log(Smarkdown.parse(str, { nop: true }));
// I am using Smarkdown.
``
- Syntax highlighting
- Options
- Extension
- Renderer
| | Smarkdown | Marked | markdown-it |
| :----------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| Version |  |  |  |
| Minified & Gzipped |  |  |  |