src/Markdig/Renderers/Html/HtmlAttributes.cs
/// <summary>
/// Gets or creates the <see cref="HtmlAttributes"/> stored on a <see cref="MarkdownObject"/>
/// </summary>
/// <param name="obj">The markdown object.</param>
/// <returns>The attached html attributes</returns>
Gets or creates the  stored on a
Gets or creates the stored on a
public static HtmlAttributes GetAttributes(this IMarkdownObject obj)
        {
            var attributes = obj.GetData(Key) as HtmlAttributes;
            if (attributes is null)
            {
                attributes = new HtmlAttributes();
                obj.SetAttributes(attributes);
            }
            return attributes;
        }
public static HtmlAttributes GetAttributes ( this IMarkdownObject obj ) { var attributes = obj . GetData ( Key ) as HtmlAttributes ; if ( attributes is null ) { attributes = new HtmlAttributes ( ) ; obj . SetAttributes ( attributes ) ; } return attributes ; }
Gets or creates the  stored on a
Gets or creates the stored on a
The attached html attributes
The attached html attributes
IMarkdownObject
this
obj
The markdown object.
The markdown object .