feat: 更多语法高亮
Signed-off-by: Aloxaf Yin <Aloxafx@gmail.com>
This commit is contained in:
parent
7cf89b53ce
commit
e2f24f38be
|
@ -7,6 +7,7 @@ import RemarkGfm from "remark-gfm";
|
|||
import RehypeHighlight from "rehype-highlight";
|
||||
import { useRef, useState, RefObject, useEffect, useMemo } from "react";
|
||||
import { copyToClipboard, useWindowSize } from "../utils";
|
||||
import "lowlight/lib/all";
|
||||
import mermaid from "mermaid";
|
||||
import Locale from "../locales";
|
||||
import LoadingIcon from "../icons/three-dots.svg";
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
"html-to-image": "^1.11.11",
|
||||
"idb-keyval": "^6.2.1",
|
||||
"lodash-es": "^4.17.21",
|
||||
"lowlight": "^2.0.0",
|
||||
"markdown-to-txt": "^2.0.1",
|
||||
"mermaid": "^10.6.1",
|
||||
"nanoid": "^5.0.3",
|
||||
|
|
Loading…
Reference in New Issue