Function: $createGenericHTMLNode()
$createGenericHTMLNode(
tag,type,attributes):GenericHTMLNode
Creates a new GenericHTMLNode with the specified MDAST HTML node as the object to edit.
Parameters
| Parameter | Type |
|---|---|
tag | string |
type | "mdxJsxFlowElement" | "mdxJsxTextElement" |
attributes | MdxJsxAttribute[] |