MCPcopy Index your code
hub / github.com/markmap/markmap / constructor

Method constructor

packages/markmap-cli/src/util/dev-server.ts:155–164  ·  view source on GitHub ↗
(
    public options: IDevelopOptions,
    transformer?: Transformer,
  )

Source from the content-addressed store, hash-verified

153 } | null = null;
154
155 constructor(
156 public options: IDevelopOptions,
157 transformer?: Transformer,
158 ) {
159 this.transformer = transformer || new Transformer();
160 this.html = this._buildHtml();
161 this.disposeList.push(() => {
162 this.watcher?.close();
163 });
164 }
165
166 private _buildHtml() {
167 const otherAssets = mergeAssets(

Callers

nothing calls this directly

Calls 1

_buildHtmlMethod · 0.95

Tested by

no test coverage detected