diff --git a/assets/js/lib/markdown.js b/assets/js/lib/markdown.js index 3a6da0f8d..70b0311bf 100644 --- a/assets/js/lib/markdown.js +++ b/assets/js/lib/markdown.js @@ -11,6 +11,8 @@ import rehypeParse from "rehype-parse"; import rehypeSanitize, { defaultSchema } from "rehype-sanitize"; import rehypeStringify from "rehype-stringify"; +import "katex/contrib/copy-tex"; + import { visit } from "unist-util-visit"; import { toText } from "hast-util-to-text"; import { removePosition } from "unist-util-remove-position";