Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 525 Bytes

README.md

File metadata and controls

32 lines (19 loc) · 525 Bytes

md-maker

English | 简体中文

Generate or insert markdown based on js configuration.

Install

npm install @nmsn/md-maker

Usage

import { md, createMd } from '@nmsn/md-maker';

createMd('./README.md', md([{ type: 'h1', params: 'title' },{ type: 'blockquote', params: 'subtitle' }]));

Todo

  • Add more markdown rule.
  • Add test case.

Contributing

License

MIT License