Skip to content

Commit bff23cd

Browse files
committed
chore: more progress on article
1 parent c985d5b commit bff23cd

File tree

4 files changed

+178
-296
lines changed

4 files changed

+178
-296
lines changed

ec.config.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1+
import { pluginCollapsibleSections } from '@expressive-code/plugin-collapsible-sections'
2+
13
const config = {
24
themes: ['material-theme-ocean', 'min-light'],
35
themeCssSelector(theme) {
46
return `[data-code-theme='${theme.name}']`
57
},
8+
plugins: [pluginCollapsibleSections({})],
69
useDarkModeMediaQuery: false,
710
}
811

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"@astrojs/partytown": "^2.1.4",
1818
"@astrojs/react": "^4.3.1",
1919
"@astrojs/sitemap": "^3.6.0",
20+
"@expressive-code/plugin-collapsible-sections": "^0.41.3",
2021
"@lucide/astro": "^0.522.0",
2122
"@radix-ui/react-slot": "^1.2.3",
2223
"@tailwindcss/typography": "^0.5.16",

pnpm-lock.yaml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)