Function: $createDirectiveNode()
$createDirectiveNode(
mdastNode,key?):DirectiveNode
Creates an DirectiveNode. Use this instead of the constructor to follow the Lexical conventions.
Parameters
| Parameter | Type |
|---|---|
mdastNode | Directives |
key? | string |
$createDirectiveNode(
mdastNode,key?):DirectiveNode
Creates an DirectiveNode. Use this instead of the constructor to follow the Lexical conventions.
| Parameter | Type |
|---|---|
mdastNode | Directives |
key? | string |