Customizable Markdown Parser
-
I share Markpiece with npm, it can be easily installed in a node environment.
npm i markpieceor
yarn add markpiece -
Finish 🎉
-
Import
MpParserfrommarkpieceand instantiate it.import { MpParser } from 'markpiece' let parser = new MpParser()
-
Markpiece translates from Markdown (
string) to HTML byrendermethod.let html = parser.render('# Hello Markpiece :cheese:')
-
Done 🎉
Click below for detailed instructions (e.g. customization).