转移blog上所有日志. 添加nuxt.config里高亮配置
This commit is contained in:
@@ -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: {
|
||||
|
Reference in New Issue
Block a user