MarkdownSharp.Markdown.RunBlockGamut C# (CSharp) Method

RunBlockGamut() private method

Perform transformations that form block-level tags like paragraphs, headers, and list items.
private RunBlockGamut ( string text, bool unhash = true ) : string
text string
unhash bool
return string
        private string RunBlockGamut(string text, bool unhash = true)
        {
            text = DoHeaders(text);
            text = DoHorizontalRules(text);
            text = DoLists(text);
            text = DoCodeBlocks(text);
            text = DoBlockQuotes(text);

            // We already ran HashHTMLBlocks() before, in Markdown(), but that
            // was to escape raw HTML in the original Markdown source. This time,
            // we're escaping the markup we've just created, so that we don't wrap
            // <p> tags around block-level tags.
            text = HashHTMLBlocks(text);

            text = FormParagraphs(text, unhash: unhash);

            return text;
        }