text: const convertMd2Demo = require('./convert-md-to-demo')
  const projectPath = require('./project-path')
  
  /**
   *
   * @param {*} content: 文档内容；
   * @param {*} path: 文件路径
   * @param {*} relativeUrl md的入口文件
   */
  module.exports = function (content, path) {
    const relativeUrl = path.replace(projectPath + '/', '')
    return convertMd2Demo(content, {
      relativeUrl,
      resourcePath: path
    })
  }
  