Label terminal commands and directory trees in code blocks

This commit is contained in:
Djeex
2026-08-31 19:57:52 +02:00
parent 61f4b0447b
commit baf3590186
53 changed files with 214 additions and 206 deletions
+6
View File
@@ -31,6 +31,12 @@ export default defineAppConfig({
base: 'bg-[rgba(12,13,12,0.8)] border-[#121110]',
},
},
// Custom code-block header icons, keyed by lowercase `[label]` text
// (see ```text [Arborescence] / ```text [Directory tree] blocks).
codeIcon: {
'arborescence': 'i-lucide-folder-tree',
'directory tree': 'i-lucide-folder-tree',
},
pre: {
slots: {
base: 'bg-[#121110] border-[#201e1b] rounded-lg',