Function: $createGenericHTMLNode()

$createGenericHTMLNode(tag, type, attributes): GenericHTMLNode

Creates a new GenericHTMLNode with the specified MDAST HTML node as the object to edit.

Parameters

ParameterType
tagstring
type"mdxJsxFlowElement" | "mdxJsxTextElement"
attributesMdxJsxAttribute[]

Returns

GenericHTMLNode