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.
11 months ago
Divyansh Singh
6f2a2af1ff
chore: fix types
1 year ago
Divyansh Singh
a2750492be
fix: snippet hmr not working with rewrites
1 year ago
Divyansh Singh
e84f31371e
fix(hmr): handle hmr in imported code snippets ( #3005 )
1 year ago
g-dx
c6ff5c7686
feat: process md includes before building local search index ( #2906 )
1 year ago
Divyansh Singh
8aa032f60c
fix: resolve snippets from original file path - align with include behavior
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
烽宁
9949f00461
fix(build): cannot handle file name containing single quote ( #2615 )
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
Divyansh Singh
f60b32f02f
fix(hmr): allow disabling md cache during dev ( #2581 )
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
93f8a05ad2
chore: use graceful-fs and bump deps ( #2429 )
1 year ago
Christian Georgi
b24acc6991
feat: add `filePath` to `PageData` ( #2140 )
...
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 )
1 year ago
Divyansh Singh
ae041448aa
refactor: improve error message on encountering dead links
...
fixes #2281
closes #2307
closes #2314
Co-authored-by: jd-solanki <jdsolanki0001@gmail.com>
Co-authored-by: Christian Georgi <christian.georgi@sap.com>
1 year ago
烽宁
8354f8fb86
fix(theme): local search showDetailedList not working in windows ( #2248 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Divyansh Singh
19ce8e5dd6
chore: bump deps
1 year ago
John Campion Jr
3714741b40
feat(build): provide `siteConfig` in `transformPageData` context ( #2163 )
2 years ago
Christian Georgi
4c23003189
fix(build): make `lastUpdated` work with git submodules ( #2149 )
2 years ago
Anthony Fu
3235c23313
feat: more flexible `ignoreDeadLinks` ( #2135 )
2 years ago
Christian Georgi
3553f015a9
fix: make md includes work with rewrites ( #1898 )
...
BREAKING CHANGES: Markdown includes are now resolved relative to original file path instead of rewritten one.
2 years ago
Evan You
34b149ba25
wip: rewrites for dynamic routes
2 years ago
Evan You
9c4c2117a6
wip: dynamic routes
2 years ago
CHOYSEN
a00bb62143
feat(build): use vite logger ( #1899 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Divyansh Singh
5ae4fbde38
feat: stable `cleanUrls` ( #1852 )
2 years ago
Divyansh Singh
00abac6116
feat(build): support rewrites ( #1798 )
...
Co-authored-by: Kia Ishii <kia.king.08@gmail.com>
2 years ago
Divyansh Singh
fe52fa3420
feat(build): allow ignoring only localhost dead links ( #1821 )
2 years ago
Matteo Bilotta
4ac8c0482f
types: strong separation between `import` and `import type` ( #1756 )
2 years ago
Igor Randjelovic
afeb06f17c
feat: transformPageData hook ( #1492 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
meteorlxy
45743cb2e3
refactor: remove non-standard markdown-it extensions ( #1240 )
2 years ago
meteorlxy
d700a66e65
feat: support markdown sfc options ( #1238 )
2 years ago
meteorlxy
19c0f43daa
refactor: use markdown title plugin and remove parseHeader utils ( #1235 )
2 years ago
meteorlxy
71358ebce7
refactor: externalize markdown headers plugin ( #1230 )
2 years ago
meteorlxy
bfb0220989
feat(build): support markdown frontmatter options ( #1218 )
2 years ago
Divyansh Singh
0048e2bf1e
feat(build): switch to vite 3, support clean urls and esm mode ( #856 )
2 years ago
Divyansh Singh
93fe8207e7
fix(build): recreate server on config change ( #1132 )
2 years ago
Divyansh Singh
e4c60ab3c8
fix: remove explicit noopener from external links ( #871 )
2 years ago
fi3ework
1daeaa16a0
fix(build): cache key should consider file path ( #948 )
2 years ago
Eulier González
95a74e58a4
docs: add including markdown content to guide ( #938 )
...
Co-authored-by: Eulier <eulier@toolboxos.com>
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
meteorlxy
9d9db6227d
fix(build): handle vite constants replacement ( #419 ) ( #888 )
2 years ago
JounQin
29d44e7a22
fix(build): show workaround on encountering dead links ( #822 ) ( #868 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
meteorlxy
753f35bf7c
refactor: improve page data parsing ( #778 )
2 years ago
Divyansh Singh
59df10590b
fix: allow lang='ts' on scripts in markdown ( #693 ) ( #701 )
...
fix #693
2 years ago
Divyansh Singh
78a2e84e7b
fix: add default value for base in `createMarkdownRenderer` ( #555 ) ( #556 )
2 years ago
Divyansh Singh
4fd2fad1fa
fix: explicitly set component name ( #657 ) ( #681 )
...
fix : #657
2 years ago
Kia King Ishii
b853910c32
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
Ryo_gk
1fcf4a4462
feat: use shiki instead of prismjs for syntax highlight ( #627 ) ( #654 )
...
close #627
Co-authored-by: Kia Ishii <kia.king.08@gmail.com>
2 years ago
Kia King Ishii
67e77f7871
feat: add option to customize title template
...
close #303
2 years ago