Skip to content

Commit c5ff771

Browse files
committed
fix: wordpress docs
1 parent 0fd327e commit c5ff771

File tree

2 files changed

+225
-133
lines changed

2 files changed

+225
-133
lines changed

apps/docs/components/docs/code-block.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import http from "shiki/langs/http.mjs";
88
import json from "shiki/langs/json.mjs";
99
import jsx from "shiki/langs/jsx.mjs";
1010
import markdown from "shiki/langs/markdown.mjs";
11+
import php from "shiki/langs/php.mjs";
1112
import tsx from "shiki/langs/tsx.mjs";
1213
import githubLight from "shiki/themes/github-light.mjs";
1314
import vesper from "shiki/themes/vesper.mjs";
@@ -24,7 +25,7 @@ interface CodeBlockProps extends React.ComponentProps<"div"> {
2425

2526
const highlighter = createHighlighterCoreSync({
2627
themes: [vesper, githubLight],
27-
langs: [tsx, jsx, html, css, json, markdown, bash, http],
28+
langs: [tsx, jsx, html, css, json, markdown, bash, http, php],
2829
engine: createJavaScriptRegexEngine(),
2930
});
3031

0 commit comments

Comments
 (0)