MCPcopy Create free account
hub / github.com/deepnote/vscode-deepnote / appendText

Method appendText

src/test/mocks/vsc/htmlContent.ts:24–28  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

22 }
23
24 appendText(value: string): MarkdownString {
25 // escape markdown syntax tokens: http://daringfireball.net/projects/markdown/syntax#backslash
26 this.value += value.replace(/[\\`*_{}[\]()#+\-.!]/g, '\\$&');
27 return this;
28 }
29
30 appendMarkdown(value: string): MarkdownString {
31 this.value += value;

Callers

nothing calls this directly

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected