Skip to content
/ md-maker Public

Generate or insert markdown based on js configuration.

License

Notifications You must be signed in to change notification settings

nmsn/md-maker

Repository files navigation

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