Iterates over the descendant elements for the specified markdown element, including Block and Inline and filters by the type T.
The descendant elements are returned in DFS-like order.
public static IEnumerable<T> Descendants<T>(this MarkdownObject markdownObject)
where T : MarkdownObject
The markdown object.