Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 837 Bytes

readme.md

File metadata and controls

45 lines (31 loc) · 837 Bytes

Markpiece 🧀

Customizable Markdown Parser

Install

  1. I share Markpiece with npm, it can be easily installed in a node environment.

    npm i markpiece
    

    or

    yarn add markpiece
    
  2. Finish 🎉

Usage

  1. Import MpParser from markpiece and instantiate it.

    import { MpParser } from 'markpiece'
    
    let parser = new MpParser()
  2. Markpiece translates from Markdown (string) to HTML by render method.

    let html = parser.render('# Hello Markpiece :cheese:')
  3. Done 🎉

Reference

Click below for detailed instructions (e.g. customization).

Reference (English) Reference (日本語)