Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

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

Install

npm i md-tools-engine-react

DownloadsWeekly Downloads

27

Version

1.0.1

License

MIT

Unpacked Size

14.4 kB

Total Files

8

Last publish

Collaborators

  • avatar
  • avatar
  • avatar