Properly copy content with math (#1225)

This commit is contained in:
Jonatan Kłosko 2022-06-13 13:20:07 +01:00 committed by GitHub
parent b18a93af93
commit 8ab4d195d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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";