Fix typo
This commit is contained in:
parent
c369fcb50b
commit
eb52b1adc1
1 changed files with 1 additions and 1 deletions
|
@ -312,7 +312,7 @@ somewhere in your types, as that registers the new node types in the tree.
|
||||||
import {visit} from 'unist-util-visit'
|
import {visit} from 'unist-util-visit'
|
||||||
|
|
||||||
/** @type {import('unified').Plugin<[], import('mdast').Root>} */
|
/** @type {import('unified').Plugin<[], import('mdast').Root>} */
|
||||||
export default function myRemarkPlugin() => {
|
export default function myRemarkPlugin() {
|
||||||
return (tree) => {
|
return (tree) => {
|
||||||
visit(tree, (node) => {
|
visit(tree, (node) => {
|
||||||
// `node` can now be one of the nodes for directives.
|
// `node` can now be one of the nodes for directives.
|
||||||
|
|
Loading…
Add table
Reference in a new issue