转移blog上所有日志. 添加nuxt.config里高亮配置

This commit is contained in:
2025-08-07 22:18:31 +08:00
parent 6bafa4d12d
commit 8e66c0fc56
12 changed files with 1760 additions and 0 deletions

View File

@@ -21,6 +21,19 @@ export default defineNuxtConfig({
markdown: {
toc: {
searchDepth: 1
},
highlight: {
langs:
['js', 'ts', 'jsx', 'tsx', 'js', 'json', 'bash', 'python', 'html', 'css', 'sql',
'yaml', 'md', 'sh', 'go', 'java', 'c', 'cpp', 'php', 'ruby', 'swift', 'html'],
theme: {
// Default theme (same as single string)
default: 'github-dark',
// Theme used if `html.dark`
dark: 'github-dark',
// Theme used if `html.sepia`
sepia: 'monokai'
}
}
},
pathMeta: {