/markdown-core

An extensible markdown engine which powers Markdown Plus.

Primary LanguageJavaScript

Markdown Core

Code Climate

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

  1. Manually review build/index.html in browser, make sure it look good and everything is fine.
  2. In test/index.js set const init = true.
  3. Run yarn test to generate fixtures in test/fixtures.
  4. In test/index.js set const init = false.
  5. Do development, change code.
  6. Run yarn test to 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