TryGetAttributes(IMarkdownObject) Method

Definition

Assembly Markdig.dll

Tries the get HtmlAttributes stored on a MarkdownObject.

public static HtmlAttributes? TryGetAttributes(this IMarkdownObject obj)

Parameters

obj
IMarkdownObject

The markdown object.

Returns

HtmlAttributes
The attached html attributes or null if not found