fix: add JSX syntax for Prism
Some checks failed
Deploy Next.js application / deploy (push) Failing after 11m4s
Some checks failed
Deploy Next.js application / deploy (push) Failing after 11m4s
This commit is contained in:
parent
d751161db8
commit
1eb863debe
2 changed files with 2 additions and 0 deletions
|
@ -9,6 +9,7 @@ import { Metadata } from "next";
|
||||||
import { format } from "date-fns";
|
import { format } from "date-fns";
|
||||||
import Prism from "prismjs";
|
import Prism from "prismjs";
|
||||||
import "prismjs/components/prism-javascript";
|
import "prismjs/components/prism-javascript";
|
||||||
|
import "prismjs/components/prism-jsx";
|
||||||
import "prismjs/components/prism-python";
|
import "prismjs/components/prism-python";
|
||||||
import "prismjs/components/prism-php";
|
import "prismjs/components/prism-php";
|
||||||
import "prismjs/components/prism-bash";
|
import "prismjs/components/prism-bash";
|
||||||
|
|
|
@ -3,6 +3,7 @@ import { useEffect } from "react";
|
||||||
import Prism from "prismjs";
|
import Prism from "prismjs";
|
||||||
import "prismjs/themes/prism-okaidia.css";
|
import "prismjs/themes/prism-okaidia.css";
|
||||||
import "prismjs/components/prism-javascript";
|
import "prismjs/components/prism-javascript";
|
||||||
|
import "prismjs/components/prism-jsx";
|
||||||
import "prismjs/components/prism-python";
|
import "prismjs/components/prism-python";
|
||||||
import "prismjs/components/prism-php";
|
import "prismjs/components/prism-php";
|
||||||
import "prismjs/components/prism-bash";
|
import "prismjs/components/prism-bash";
|
||||||
|
|
Loading…
Reference in a new issue