Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,16 @@ export default defineUserConfig({
},
},
head: [
["link", { rel: "preload", href: "/fonts/FiraCode-Regular.woff2", as: "font", type: "font/woff2", crossorigin: "anonymous" }],
[
'link',
{
rel: 'preload',
href: '/fonts/FiraCode-Regular.woff2',
as: 'font',
type: 'font/woff2',
crossorigin: 'anonymous',
},
],
['meta', { name: 'theme-color', content: '#3eaf7c' }],
['meta', { name: 'apple-mobile-web-app-capable', content: 'yes' }],
[
Expand Down Expand Up @@ -199,6 +208,7 @@ export default defineUserConfig({
onedarkpro: 'one-dark-pro', // pre-load one-dark-pro for ansi code blocks
},
lineNumbers: 10,
collapsedLines: false,
transformers: [
// use one-dark-pro theme for ansi code blocks
{
Expand Down
Loading