markdown-core
markdown-core copied to clipboard
An extensible markdown engine which powers Markdown Plus.
Markdown Core
An extensible markdown engine used in the Markdown Plus project.
Installation
yarn add markdown-core
Usage
Node.js
import mdc from 'markdown-core'
mdc.render('# hello world')
Browser
Please refer to the example.
Development
Build
yarn build:watch
Verify
Host and open build/index.html in browser
License
MIT
Test
- Manually review
build/index.htmlin browser, make sure it look good and everything is fine. - In
test/index.jssetconst init = true. - Run
yarn testto generate fixtures intest/fixtures. - In
test/index.jssetconst init = false. - Do development, change code.
- Run
yarn testto make sure nothing breaks.
Todo
- PPT
- Create a website for this project
- GitHub pages
mdc.xxx=>xxx- Support mermaid git graph
- Replace mocha with jest
