Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tylingsoft/markdown-core

An extensible markdown engine which powers Markdown Plus.
https://github.com/tylingsoft/markdown-core

markdown markdown-core markdown-plus mdc

Last synced: 3 months ago
JSON representation

An extensible markdown engine which powers Markdown Plus.

Awesome Lists containing this project

README

        

# Markdown Core

[![Code Climate](https://codeclimate.com/github/tylingsoft/markdown-core.png)](https://codeclimate.com/github/tylingsoft/markdown-core)

An extensible markdown engine used in the [Markdown Plus](https://github.com/tylingsoft/markdown-plus) project.

## Installation

```
yarn add markdown-core
```

## Usage

### Node.js

```js
import mdc from 'markdown-core'

mdc.render('# hello world')
```

### Browser

Please refer to [the example](./build).

## 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