Divyansh Singh
f1bef95eee
fix(theme): keep pnum,tnum features in Inter
...
closes #5096
3 months ago
Tatsunori Uchino
f09593b073
fix(theme): add `rel="alternate"` and `hreflang` to links in language menu ( #5108 )
3 months ago
Tatsunori Uchino
a01bba0cad
feat(theme): add Japanese translation for "copied" label ( #5106 )
3 months ago
Divyansh Singh
d7effffdbb
feat(theme): enable text-autospace and text-spacing-trim ( closes #4996 )
3 months ago
Divyansh Singh
3146ce48ed
feat(theme): support specifying list of details in home page features ( closes #5101 )
3 months ago
Dylan Tientcheu
0d646a66cd
feat(theme): upgrade DocSearch to 4.5 with sidepanel ( #5092 )
...
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
3 months ago
Divyansh Singh
a28e171604
fix(theme): remove margin between code groups and blocks in markdown containers
...
closes #5099
3 months ago
hotdogc1017
f8d8c0d712
feat(theme): use `@layer __vitepress_base` to wrap the styles in base.css ( #4905 )
3 months ago
seeksky
923aa90252
fix(theme): highlight active link in mobile nav menu ( #5086 ) ( closes #5068 , closes #5074 )
4 months ago
seeksky
b2008654ff
fix(theme): align badges in h1 and h2 ( #5087 ) ( closes #5063 )
4 months ago
Michael Cozzolino
f119b18e39
fix(theme): add fallback for `heroImageSlotExists` ( #5076 )
...
for users who are importing VPHero in custom theme
4 months ago
Evan You
66cf64e6d1
fix: always log error when failed to fetch page
4 months ago
Divyansh Singh
8ed6ea048c
fix(theme): overflow clip is buggy on safari
...
closes #5050
x-ref: 06f0e1a (#5039 ), 0ee7158 (#5027 )
5 months ago
Divyansh Singh
06f0e1a5c9
fix(theme): navbar overflowing on mobile devices
...
closes #5039
5 months ago
Kevin Deng
5e0d7dab83
chore: replace debug with obug ( #5030 )
5 months ago
Yuji Sugiura
d16d1970bc
chore: update oxc-minify to 0.98 ( #5033 )
5 months ago
Divyansh Singh
179ee621d9
fix: log dead links in dev mode too
...
closes #4419
6 months ago
Divyansh Singh
dfb02a479f
feat(client): emit `vitepress:codeGroupTabActivate` custom event when a code group tab is activated
...
closes #5023
6 months ago
Divyansh Singh
0ee71588de
fix(theme): sidebar alignment when scrollbar is there on page
...
closes #5027
6 months ago
Divyansh Singh
0899618556
fix: disable markdown-it-attrs for fenced code blocks
...
BREAKING CHANGE: `markdown-it-attrs` is disabled for fenced code blocks. For most users no change is required. If you want to add classes to code blocks, do it using shiki transformers instead.
6 months ago
froQ
a6e6e59905
refactor: use shiki's transformerMetaHighlight
6 months ago
Divyansh Singh
4e548f5424
fix: simplify lang extraction logic; use markdown-it plugins in type-safe manner; bump deps
6 months ago
Bjorn Lu
bf2715ed67
feat: prevent `$` symbol selection in shell code ( #5025 )
6 months ago
Dmitrii Savelev
be260fda6e
fix(theme): use nav height css var for curtain top in sidebar ( #4993 )
6 months ago
Brainshaker95
113d230478
fix(theme): disable whitespace wrapping for VPBadge ( #4968 )
7 months ago
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>
7 months ago
Divyansh Singh
612c45895d
fix: git log parsing when there are empty commits in history ( #4965 )
7 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.
7 months ago
Miroma
34cfa91b6f
feat(theme): allow passing functions for nav links ( #4963 )
7 months ago
Divyansh Singh
31d87e2738
feat: export cacheAllGitTimestamps and getGitTimestamp
...
x-ref: https://github.com/vuejs/vitepress/issues/4954#issuecomment-3337312956
7 months ago
Divyansh Singh
6dfcdd3fe8
perf: make a single git call for timestamps instead of calling it for each file ( #4958 )
7 months ago
Divyansh Singh
6d7422f8fa
fix: respect markdown.cache = false on build too
7 months ago
Divyansh Singh
d46107fa25
fix(client,a11y): improve focus handling and scrolling behavior in router ( #4943 )
8 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>
8 months ago
Divyansh Singh
c2eaccd0d2
fix(theme): avoid use of `:where` in selector list for now
...
x-ref: #4923
8 months ago
Divyansh Singh
f0b29d7ef3
fix(theme): add lang and dir attributes to language picker
8 months ago
Divyansh Singh
82fac5d22c
fix(theme): adjust margin of code blocks inside containers
...
closes #4921
8 months ago
Divyansh Singh
2b77fb3a72
fix: print full path in dead links check
...
closes #4919
8 months ago
Divyansh Singh
d1a8061eb4
fix(hmr): don't load config twice on server restart
8 months ago
Divyansh Singh
d3a15673bd
fix(hmr): no need for server restart on theme change
8 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.
8 months ago
Divyansh Singh
1c8815d53e
fix(theme): use clipboard-check instead of clipboard-copy for code copied icon
8 months ago
Divyansh Singh
43b36c0c19
fix(theme): fix local nav alignment and increase touch area
8 months ago
Divyansh Singh
b83799a6e7
chore: bump deps
9 months ago
Divyansh Singh
914467e17f
fix: hmr not working for snippet imports in dynamic routes
9 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>
9 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.
9 months ago
Divyansh Singh
8d8a5ac281
fix: hmr working only once for markdown files
...
closes #4909
9 months ago
Divyansh Singh
8abbe298d5
fix: html entities encoded twice in toc plugin
...
closes #4908
9 months ago
Divyansh Singh
3d0fafba54
fix: hmr of style blocks in dynamic routes ( #4903 )
9 months ago