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'
|
||||
|
||||
/** @type {import('unified').Plugin<[], import('mdast').Root>} */
|
||||
export default function myRemarkPlugin() => {
|
||||
export default function myRemarkPlugin() {
|
||||
return (tree) => {
|
||||
visit(tree, (node) => {
|
||||
// `node` can now be one of the nodes for directives.
|
||||
|
|
Loading…
Add table
Reference in a new issue