fix(syntax-highlighting): adds missing CSS imports to CodeBlock.tsx (#4890)
This commit is contained in:
parent
1f88e3e2d2
commit
c4baba8527
1 changed files with 2 additions and 0 deletions
|
|
@ -6,6 +6,8 @@ import toast from "react-hot-toast";
|
||||||
import { cn } from "@/lib/utils";
|
import { cn } from "@/lib/utils";
|
||||||
import MermaidBlock from "./MermaidBlock";
|
import MermaidBlock from "./MermaidBlock";
|
||||||
import { BaseProps } from "./types";
|
import { BaseProps } from "./types";
|
||||||
|
import "highlight.js/styles/atom-one-dark.css";
|
||||||
|
import "highlight.js/styles/github.css";
|
||||||
|
|
||||||
// Special languages that are rendered differently.
|
// Special languages that are rendered differently.
|
||||||
enum SpecialLanguage {
|
enum SpecialLanguage {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue