Skip to content

Commit 3bbce90

Browse files
committed
feat: add markdown viewer and refine reading tools and sidebar
1 parent 9f17fc6 commit 3bbce90

69 files changed

Lines changed: 1537 additions & 113 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎astro.config.mjs‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ import remarkCallouts from './src/shared/markdown/remark-callouts.js';
66
export default defineConfig({
77
site: 'https://itsdangerous.github.io',
88
base: '/',
9+
vite: {
10+
optimizeDeps: {
11+
exclude: ['shiki', '@shikijs/engine-oniguruma', '@shikijs/langs'],
12+
},
13+
},
914
integrations: [sitemap()],
1015
markdown: {
1116
remarkPlugins: [remarkDirective, remarkCallouts],

‎package-lock.json‎

Lines changed: 98 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,17 @@
1414
"@astrojs/rss": "^4.0.19",
1515
"@astrojs/sitemap": "^3.7.4",
1616
"astro": "^5.18.2",
17-
"remark-directive": "^4.0.0"
17+
"dompurify": "^3.4.15",
18+
"rehype-raw": "^7.0.0",
19+
"rehype-stringify": "^10.0.1",
20+
"remark-directive": "^4.0.0",
21+
"remark-frontmatter": "^5.0.0",
22+
"remark-gfm": "^4.0.1",
23+
"remark-parse": "^11.0.0",
24+
"remark-rehype": "^11.1.2",
25+
"remark-smartypants": "^3.0.3",
26+
"shiki": "^3.23.0",
27+
"unified": "^11.0.5"
1828
},
1929
"devDependencies": {
2030
"@pagefind/default-ui": "^1.5.2",

‎public/images/glyphs/A.webp‎

107 KB

‎public/images/glyphs/B.webp‎

140 KB

‎public/images/glyphs/C.webp‎

97.6 KB

‎public/images/glyphs/D.webp‎

132 KB

‎public/images/glyphs/E.webp‎

97.9 KB

‎public/images/glyphs/F.webp‎

85.3 KB

‎public/images/glyphs/G.webp‎

101 KB

0 commit comments

Comments
 (0)