0.1.3 • Published 3 years ago
markpiece v0.1.3
Markpiece :cheese:
Customizable Markdown Parser
Install
I share Markpiece with npm, it can be easily installed in a node environment.
npm i markpiece
or
yarn add markpiece
Finish :tada:
Usage
Import
MpParser
frommarkpiece
and instantiate it.import { MpParser } from 'markpiece' let parser = new MpParser()
Markpiece translates from Markdown (
string
) to HTML byrender
method.let html = parser.render('# Hello Markpiece :cheese:')
Done :tada:
Reference
Click below for detailed instructions (e.g. customization).