mirror of
https://github.com/versia-pub/docs.git
synced 2026-03-13 02:49:16 +01:00
chore: ⬆️ Upgrade dependencies
Some checks failed
Mirror to Codeberg / Mirror (push) Failing after 0s
Some checks failed
Mirror to Codeberg / Mirror (push) Failing after 0s
This commit is contained in:
parent
bf4384376e
commit
cdc1d6a6a2
23 changed files with 413 additions and 248 deletions
|
|
@ -12,7 +12,6 @@ import { visit } from "unist-util-visit";
|
|||
|
||||
function rehypeParseCodeBlocks() {
|
||||
return (tree) => {
|
||||
// biome-ignore lint/style/useNamingConvention: <explanation>
|
||||
visit(tree, "element", (node, _nodeIndex, parentNode) => {
|
||||
if (node.tagName === "code" && node.properties.className) {
|
||||
parentNode.properties.language =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue