Skip to content

Commit

Permalink
Update vuepress config
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcer committed Oct 5, 2024
1 parent 3b4e727 commit 7679879
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,6 @@ export default defineUserConfig({
['link', { rel: 'icon', href: '/icon.png' }],
],
markdown: {
code: {
lineNumbers: false,
},
importCode: {
handleImportPath: (str) =>
str.replace(/^@snippets/, path.resolve(__dirname, '../snippets')),
Expand Down Expand Up @@ -175,6 +172,7 @@ export default defineUserConfig({
}),
shikiPlugin({
theme: 'dark-plus',
lineNumbers: false,
langs: [
'nushell',
'rust',
Expand Down

0 comments on commit 7679879

Please sign in to comment.