code: function (filepath, options, content) {
      if (!inited) {
        this.config()
      }
  
      if (arguments.length === 2 && (typeof options === "string")) {
        content = options;
        options = {};
      }
  
      content = content || getFileString(filepath);
      options = options || {};
  
      if (!content) return "";
  
      return compile(content, filepath, options);
    }
docs: filepath：文件路径，options包括模板变量及部分参数，content:文件内容