(value: string)
| 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; |