From eb52b1adc1872fbf8e2afdc97695300067362831 Mon Sep 17 00:00:00 2001 From: Titus Date: Thu, 11 Nov 2021 13:07:45 +0100 Subject: [PATCH] Fix typo --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 31a73a3..c2acd08 100644 --- a/readme.md +++ b/readme.md @@ -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.