Divyansh Singh
01d0d45292
fix(theme/regression): typo in component props resulting in nested titles not showing in navbar
...
closes #4042
4 months ago
Joaquín Sánchez
fa87d8150d
feat: allow using components in navigation bar ( #4000 )
...
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
4 months ago
SuperLi
143b1e91f3
feat(markdown): support including specific regions from markdown files ( #3978 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
4 months ago
烽宁
55be3f14d7
feat: support custom image lazy loading ( #3346 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
10 months ago
Anthony Fu
75f18e4733
feat: migrate to shikiji ( #3237 )
12 months ago
Divyansh Singh
d2238eedb7
feat: switch to vite 5 and bump deps ( #3200 )
...
BREAKING CHANGE: VitePress now runs on Vite 5. Please refer https://vitejs.dev/guide/migration for breaking changes and migration guide if you're relying on some Vite-specific things.
12 months ago
Divyansh Singh
dbbffa2487
fix(build): remove frontmatter in md file inclusion
...
closes #3195
1 year ago
Divyansh Singh
7991180080
fix(build): handle .mjs/.mts files as data / path loaders ( #3058 )
1 year ago
Divyansh Singh
e99aaad9cf
fix(build): handle importing code snippets not having an extension ( #2978 )
1 year ago
Damien Guard
00dc1e6742
feat: allow customizing markdown renderer used for local search indexing ( #2770 )
...
BREAKING CHANGES: `search.options.exclude` for local search is removed in favor of more flexible `search.options._render`
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Divyansh Singh
9ae94877db
chore: fix tests
1 year ago
Divyansh Singh
52884d9d4b
feat(theme): allow setting base path in sidebar items ( #2734 )
1 year ago
Divyansh Singh
e3f8fc7972
fix(theme): allow using h1 headings in outline
...
closes #1529
1 year ago
Divyansh Singh
fb048a6f72
fix(search): add useFocusTrap and mark.js to optimizeDeps ( #2682 )
1 year ago
Jérémy Riverain
37d5b273fb
feat(search): allow excluding content from search results ( #2602 )
...
closes #2344
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Divyansh Singh
e8074e60ec
fix(build): resolve nested md inclusions properly
...
closes #2584
closes #2586
Co-authored-by: Jeff Tian <jeff.tian@outlook.com>
1 year ago
烽宁
1ef33fe1c4
feat: support selecting line range when importing md file ( #2502 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Jeff Tian
0c4210bb5e
feat(build): support nested markdown includes ( #2545 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Divyansh Singh
b2a129f49b
fix(build): add `@vue/devtools-api` to `optimizeDeps.include` ( #2543 )
1 year ago
烽宁
c4909e4298
feat(theme): expose `useSidebar` ( #2496 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Joaquín Sánchez
a3b38d1882
feat(build): allow using `@` prefix with `@include:` ( #2292 )
2 years ago
Divyansh Singh
335ef4f736
revert: 456099a
2 years ago
Divyansh Singh
456099a527
test: restore tests for init command
2 years ago
Evan You
dc88efecff
chore: fix tests
2 years ago
Evan You
3b6a6d1abd
feat(theme): a11y improvements
2 years ago
Evan You
d2838e3755
feat: createContentLoader
2 years ago
Evan You
657a7d38df
fix(theme): re-support dynamic headers
2 years ago
CHOYSEN
70ba404cb8
test: e2e for markdown extensions ( #2043 )
2 years ago
Evan You
4673bb1879
feat(data-loader): defineLoader() type helper
2 years ago
Evan You
e29b6a051e
feat(data-loader): pass watched files into load()
2 years ago
Evan You
a4ac055dbf
feat: support $params in page components
2 years ago
Evan You
1457681484
fix: ensure HMR works properly for page outline
...
The client-side based implementation in #1281 makes HMR update for the
outlines flaky and unreliable.
The headers payload for each page chunk is relatively cheap in return
for the correctness, since they are inlined as a JSON string.
2 years ago
Evan You
38bbdaddb7
feat: vitepress init command ( #2020 )
...
close #1252
2 years ago
Evan You
8c9833ceba
test: fix dynamic routes test for build
2 years ago
Evan You
956de3bfa2
test: test for dynamic routes
2 years ago
Divyansh Singh
b197949930
chore: bump deps
2 years ago
Divyansh Singh
dea6cfa9cb
fix(theme): infer collapsible from collapsed ( #1865 )
...
BREAKING CHANGE: `collapsible` is dropped from sidebar, use `collapsed` instead
2 years ago
Kia King Ishii
c35a1f0fae
feat(theme): enable multi level sidebar nesting ( #1360 ) ( #1835 )
...
close #1360
close #1361
close #1680
2 years ago
0x009922
7de7fff417
fix(build): dedent of a single-line region ( #1687 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Joaquín Sánchez
9df598f36e
feat(theme): allow adding images as icons in features section ( #1738 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Divyansh Singh
ae3ba243b1
tests: refactor ( #1587 )
2 years ago
Joaquín Sánchez
db1c343dfb
feat(theme): sort multiple sidebars ( #1552 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Divyansh Singh
288aa48b92
feat(theme): support dynamic headers and nesting in outline ( #1281 )
...
Co-authored-by: fi3ework <fi3ework@gmail.com>
2 years ago
meteorlxy
19c0f43daa
refactor: use markdown title plugin and remove parseHeader utils ( #1235 )
2 years ago
Kia Ishii
0b6f25b988
test: add test for client utils
...
close #617
2 years ago
Kia King Ishii
8c1f9f6c87
style: format
2 years ago
Anthony Fu
a0f81c9f9d
feat: migrate to ESM ( #645 ) ( #659 )
...
close #645
Co-authored-by: Kia King Ishii <kia.king.08@gmail.com>
2 years ago
Kia Ishii
73bbc6143a
feat: new default theme
3 years ago
Evan You
17aaaf0180
refactor tsconfig setup + migrate to vitest
3 years ago
Kia King Ishii
5deaf6a2cd
fix: sidebar 'auto' not working ( #178 ) ( #224 )
...
BREAKING CHANGE: If sidebat is `undefined`, it will be treated as `auto` where
previsouly it's treated as `false`. It was always treated as `auto`, but due to
this bug, the sidebar was hidden, therefore it looked like it was treated
as `false`.
4 years ago