keep comments on ``` sh lines

This commit is contained in:
Christoph Haas 2025-10-10 23:29:57 +02:00
parent ad111457db
commit ea89befdc4

View file

@ -10,12 +10,21 @@ export default defineConfig({
site: "https://workaround.org", site: "https://workaround.org",
integrations: [ integrations: [
starlight({ starlight({
expressiveCode: {
frames: {
removeCommentsWhenCopyingTerminalFrames: false, // keep the commented lines when copying shell snippets
},
},
lastUpdated: true, lastUpdated: true,
title: "ISPmail Guide", title: "ISPmail Guide",
social: [ social: [
{ icon: "github", label: "GitHub", href: "https://github.com/Signum/workaround-astro-starlight" }, { icon: "github", label: "GitHub", href: "https://github.com/Signum/workaround-astro-starlight" },
{ icon: "matrix", label: "Matrix", href: "https://riot.im/app/#/room/#ispmail:matrix.org" }, { icon: "matrix", label: "Matrix", href: "https://riot.im/app/#/room/#ispmail:matrix.org" },
{ icon: "rss", label: "Feed", href: "https://comentario.workaround.org/api/rss/comments?domain=0f111a27-fbfa-48af-8beb-ab12e612d92f" }, {
icon: "rss",
label: "Feed",
href: "https://comentario.workaround.org/api/rss/comments?domain=0f111a27-fbfa-48af-8beb-ab12e612d92f",
},
], ],
// https://expressive-code.com/key-features/word-wrap/#configuration // https://expressive-code.com/key-features/word-wrap/#configuration
components: { components: {