MCPcopy Create free account
hub / github.com/Squirrel/Squirrel.Windows / DoCodeBlocks

Method DoCodeBlocks

src/Squirrel/MarkdownSharp.cs:1246–1250  ·  view source on GitHub ↗

/// Turn Markdown 4-space indented code into HTML pre code blocks

(string text)

Source from the content-addressed store, hash-verified

1244 /// /// Turn Markdown 4-space indented code into HTML pre code blocks
1245 /// </summary>
1246 private string DoCodeBlocks(string text)
1247 {
1248 text = _codeBlock.Replace(text, new MatchEvaluator(CodeBlockEvaluator));
1249 return text;
1250 }
1251
1252 private string CodeBlockEvaluator(Match match)
1253 {

Callers

nothing calls this directly

Calls 1

ReplaceMethod · 0.45

Tested by

no test coverage detected