Elecmonkey
3d61619ec0
feat(markdown): support custom display-name for fenced code blocks ( #4960 )
...
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 months ago
Divyansh Singh
612c45895d
fix: git log parsing when there are empty commits in history ( #4965 )
2 months ago
Divyansh Singh
bce0b53659
fix: rename `markdown.cjkFriendly` to `markdown.cjkFriendlyEmphasis`
...
closes #4952
BREAKING CHANGE: Rename `cjkFriendly` to `cjkFriendlyEmphasis` in your vitepress config. **Most people should be unaffected** unless they want to disable the CJK emphasis behavior added v2.0.0-alpha.12.
2 months ago
Miroma
34cfa91b6f
feat(theme): allow passing functions for nav links ( #4963 )
2 months ago
Divyansh Singh
31d87e2738
feat: export cacheAllGitTimestamps and getGitTimestamp
...
x-ref: https://github.com/vuejs/vitepress/issues/4954#issuecomment-3337312956
2 months ago
Divyansh Singh
6dfcdd3fe8
perf: make a single git call for timestamps instead of calling it for each file ( #4958 )
2 months ago
Divyansh Singh
6d7422f8fa
fix: respect markdown.cache = false on build too
2 months ago
Divyansh Singh
f386c1a3d4
ci: add cron schedule for stale action
2 months ago
Divyansh Singh
08ca699175
test: use global timeouts in static data hmr tests
2 months ago
Olusegun Durojaye
09a6db645f
docs: add CloudRay Deployment Guide ( #4949 )
2 months ago
Divyansh Singh
fae8c3b89d
docs: add link to v1 docs
...
closes #4945
2 months ago
Divyansh Singh
d46107fa25
fix(client,a11y): improve focus handling and scrolling behavior in router ( #4943 )
3 months ago
Bugo
850c429f14
docs(ru): update `ru/guide/what-is-vitepress.md` ( #4941 )
3 months ago
Divyansh Singh
fe26488bbc
docs: fix incorrect lang being applied on all pages
3 months ago
Joaquín Sánchez
7ed8fd3e95
docs: use `es` instead `es-CO` and update copyright notices ( #4936 )
3 months ago
Joaquín Sánchez
187bf250e6
feat(i18n,a11y): change last update logic ( #4935 )
...
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
3 months ago
Divyansh Singh
c2eaccd0d2
fix(theme): avoid use of `:where` in selector list for now
...
x-ref: #4923
3 months ago
Divyansh Singh
f0b29d7ef3
fix(theme): add lang and dir attributes to language picker
3 months ago
Divyansh Singh
2e4978e3ad
docs: format custom containers [lunaria-ignore]
3 months ago
Divyansh Singh
dd29348466
chore: bump deps
3 months ago
Xinyu Liu
648db6b3d2
docs: update description of vuepress ( #4922 )
3 months ago
Divyansh Singh
82fac5d22c
fix(theme): adjust margin of code blocks inside containers
...
closes #4921
3 months ago
Divyansh Singh
2b77fb3a72
fix: print full path in dead links check
...
closes #4919
3 months ago
Divyansh Singh
a248995891
release: v2.0.0-alpha.12
3 months ago
Divyansh Singh
d1a8061eb4
fix(hmr): don't load config twice on server restart
3 months ago
Divyansh Singh
d3a15673bd
fix(hmr): no need for server restart on theme change
3 months ago
Divyansh Singh
9fc8462726
feat: add markdown-it-cjk-friendly
...
closes #3762
closes #4752
BREAKING CHANGE: [markdown-it-cjk-friendly](https://www.npmjs.com/package/markdown-it-cjk-friendly ) is enabled by default. This intentionally deviates from the official commonmark spec for the benefit of CJK users. **For most users, no change is required.** If you were using hacks to patch `scanDelims`, you can remove those. To disable the plugin, set `markdown: { cjkFriendly: false }` in your vitepress config.
4 months ago
Divyansh Singh
1c8815d53e
fix(theme): use clipboard-check instead of clipboard-copy for code copied icon
4 months ago
Divyansh Singh
43b36c0c19
fix(theme): fix local nav alignment and increase touch area
4 months ago
Divyansh Singh
b83799a6e7
chore: bump deps
4 months ago
Divyansh Singh
914467e17f
fix: hmr not working for snippet imports in dynamic routes
4 months ago
Divyansh Singh
7df3052512
fix(theme): nav background doesn't extend fully and gap after sidebar with non-overlay scrollbars
...
closes #4653
Co-authored-by: Burrito <burritoyangster@gmail.com>
4 months ago
Divyansh Singh
9238e00c9f
test: add postcssIsolateStyles snapshots
4 months ago
Divyansh Singh
0944777893
feat: make postcssIsolateStyles idempotent
...
BREAKING CHANGE: `includeFiles` option in `postcssIsolateStyles` now defaults to `[/vp-doc\.css/, /base\.css/]` You can remove explicit `includeFiles` if you were using it just to run it on `vp-doc.css`. To revert back to older behavior pass `includeFiles: [/base\.css/]`. The underlying implementation is changed and `transform` and `exclude` options are no longer supported. Use `postcss-prefix-selector` directly if you've advanced use cases.
4 months ago
Divyansh Singh
991c780a07
docs: recommend v2 for new users
4 months ago
Divyansh Singh
d7281fd504
release: v2.0.0-alpha.11
4 months ago
Divyansh Singh
8d8a5ac281
fix: hmr working only once for markdown files
...
closes #4909
4 months ago
Divyansh Singh
8abbe298d5
fix: html entities encoded twice in toc plugin
...
closes #4908
4 months ago
Divyansh Singh
e25f2285c0
release: v2.0.0-alpha.10
4 months ago
Divyansh Singh
46e9dab59b
chore(deps): bump mdit-vue to v3
4 months ago
Divyansh Singh
3d0fafba54
fix: hmr of style blocks in dynamic routes ( #4903 )
4 months ago
Divyansh Singh
5bf835b507
fix(types): externalize markdown-it types
...
ref: https://github.com/boyum/markdown-it-image-size/issues/888#issuecomment-3172653892
4 months ago
Divyansh Singh
fc267ae6b7
fix: module graph causing unnecessary route regeneration on every update
...
fix: preserve externally added dynamic routes and pages
chore: bump deps, lock vitest as its latest beta is broken
4 months ago
Divyansh Singh
318c14fa7c
fix: make paths in `watchedFiles` absolute as mentioned in the docs
4 months ago
Divyansh Singh
777e2caaac
fix(types): pass generics deeply to user config
4 months ago
sarganar
300dea4aad
docs(es): enhance what-is-vitepress section in Spanish ( #4872 )
...
---------
Co-authored-by: metris-soporte <metris.soporte@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
4 months ago
Artea
0ca25ca314
refactor(nav,layout): use `InjectionKey` ( #4880 )
...
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
4 months ago
Divyansh Singh
af95bcc383
chore: track `next` tag in npm badge
4 months ago
btea
2a8cfa79c1
chore: move all pnpm settings to `pnpm-workspace.yaml` ( #4889 )
...
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
4 months ago
Artea
f97635916e
refactor: `VPMenu` related component use generic type for component ( #4883 )
4 months ago