Skip to content

k1z3/Markpiece

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 (日本語)

About

Customizable Markdown Parser with RegExp

Resources

License

Stars

Watchers

Forks

Packages

No packages published