diff options
Diffstat (limited to 'packages/markdown/remark/src/highlight.ts')
-rw-r--r-- | packages/markdown/remark/src/highlight.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/markdown/remark/src/highlight.ts b/packages/markdown/remark/src/highlight.ts index 3338f75b7..41ec8880b 100644 --- a/packages/markdown/remark/src/highlight.ts +++ b/packages/markdown/remark/src/highlight.ts @@ -14,7 +14,7 @@ const languagePattern = /\blanguage-(\S+)\b/; * @param tree * The hast tree in which to syntax highlight code blocks. * @param highlighter - * A fnction which receives the code and language, and returns the HTML of a syntax + * A function which receives the code and language, and returns the HTML of a syntax * highlighted `<pre>` element. */ export async function highlightCodeBlocks(tree: Root, highlighter: Highlighter) { |