src/Lists/MarkdownList.cs
/// <summary>
/// Removes the given MarkdownBlock from the list.
/// </summary>
/// <param name="item">Item to remove</param>
/// <returns>True if removed.</returns>
Removes the given MarkdownBlock from the list.
Removes the given MarkdownBlock from the list .
public bool Remove(MarkdownBlock item)
        {
            for (var index = 0; index < Children.Count; index++)
            {
                var block = Children[index];
                if (block.Remove(item))
                {
                    if (block.Count == 0)
                        Children.Remove(block);
                    return true;
                }
            }
            return false;
        }
public bool Remove ( MarkdownBlock item ) { for ( var index = 0 ; index < Children . Count ; index ++ ) { var block = Children [ index ] ; if ( block . Remove ( item ) ) { if ( block . Count == 0 ) Children . Remove ( block ) ; return true ; } } return false ; }
Removes the given MarkdownBlock from the list.
Removes the given MarkdownBlock from the list .
// Block is now empty? Remove it.
True if removed.
True if removed .
item
MarkdownBlock
Item to remove
Item to remove