Class MarkdownTokenExtensions
Inheritance
MarkdownTokenExtensions
Namespace:Microsoft.DocAsCode.MarkdownLite
Assembly:Microsoft.DocAsCode.MarkdownLite.dll
Syntax
public static class MarkdownTokenExtensions
Methods
BlockTokens(IEnumerable<IMarkdownToken>)
Declaration
public static IEnumerable<IMarkdownToken> BlockTokens(this IEnumerable<IMarkdownToken> tokens)
Parameters
Returns
Children(IMarkdownToken)
Declaration
public static IEnumerable<IMarkdownToken> Children(this IMarkdownToken token)
Parameters
Returns
Children<T>(IMarkdownToken)
Declaration
public static IEnumerable<T> Children<T>(this IMarkdownToken token)where T : IMarkdownToken
Parameters
Returns
Type Parameters
Descendants(IMarkdownToken)
Declaration
public static IEnumerable<IMarkdownToken> Descendants(this IMarkdownToken token)
Parameters
Returns
Descendants<T>(IMarkdownToken)
Declaration
public static IEnumerable<T> Descendants<T>(this IMarkdownToken token)where T : IMarkdownToken
Parameters
Returns
Type Parameters
InlineTokens(IEnumerable<IMarkdownToken>)
Declaration
public static IEnumerable<IMarkdownToken> InlineTokens(this IEnumerable<IMarkdownToken> tokens)
Parameters
Returns