Descendants(ContainerInline) Method

Definition

Namespace Markdig.Syntax
Assembly Markdig.dll

Iterates over the descendant elements for the specified markdown Inline element and filters by the type T.

public static IEnumerable<T> Descendants<T>(this ContainerInline inline)
    where T : Inline

Type parameters

T
Type to use for filtering the descendants

Parameters

inline
ContainerInline

The inline markdown object.

Returns

IEnumerable<T>
An iteration over the descendant elements