MCPcopy Index your code
hub / github.com/docsifyjs/docsify / _renderHtml

Method _renderHtml

packages/docsify-server-renderer/index.js:132–136  ·  view source on GitHub ↗
(match, content)

Source from the content-addressed store, hash-verified

130 }
131
132 _renderHtml(match, content) {
133 this.html = this.html.replace(new RegExp(`<!--${match}-->`, 'g'), content);
134
135 return this.html;
136 }
137
138 async _render(path, type) {
139 let html = await this._loadFile(path);

Callers 2

constructorMethod · 0.95
renderToStringMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected