Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

md-tools-engine-react

guxingke20132MIT1.0.1

The React Engine For md-tools

markdown, md-tools, react

readme

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