MarkdownSharp.Markdown.DoLists C# (CSharp) Méthode

DoLists() private méthode

Turn Markdown lists into HTML ul and ol and li tags
private DoLists ( string text, bool isInsideParagraphlessListItem = false ) : string
text string
isInsideParagraphlessListItem bool
Résultat string
        private string DoLists(string text, bool isInsideParagraphlessListItem = false)
        {
            // We use a different prefix before nested lists than top-level lists.
            // See extended comment in _ProcessListItems().
            if (_listLevel > 0)
                text = _listNested.Replace(text, GetListEvaluator(isInsideParagraphlessListItem));
            else
                text = _listTopLevel.Replace(text, GetListEvaluator(false));

            return text;
        }