md-tools-engine-react

1.0.1 • Public • Published

md-tools-engine-react

markdown文件使用md-tools转换后的数据在react下运行需提供的模板,入口文件和路由

用法

  1. 安装依赖:
npm i -D md-tools-engine-react
  1. md-tools.config.js配置engine.
{
  engine: 'md-tools-engine-react',
  ...
}

API

getRoutesPath(tmpDirPath, themeConfig, themePath, configEntryName)

generateEntryFile(tmpDirPath, themeConfig, configTheme, configEntryName, root)

htmlTemplate

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i md-tools-engine-react

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

14.4 kB

Total Files

8

Last publish

Collaborators

  • guxingke201
  • mraiguo
  • nicky_nd