Divyansh Singh
06f0e1a5c9
fix(theme): navbar overflowing on mobile devices
...
closes #5039
2 weeks ago
Kevin Deng
5e0d7dab83
chore: replace debug with obug ( #5030 )
2 weeks ago
Yuji Sugiura
d16d1970bc
chore: update oxc-minify to 0.98 ( #5033 )
2 weeks ago
Divyansh Singh
179ee621d9
fix: log dead links in dev mode too
...
closes #4419
3 weeks ago
Divyansh Singh
dfb02a479f
feat(client): emit `vitepress:codeGroupTabActivate` custom event when a code group tab is activated
...
closes #5023
3 weeks ago
Divyansh Singh
0ee71588de
fix(theme): sidebar alignment when scrollbar is there on page
...
closes #5027
3 weeks 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.
3 weeks ago
froQ
a6e6e59905
refactor: use shiki's transformerMetaHighlight
3 weeks ago
Divyansh Singh
4e548f5424
fix: simplify lang extraction logic; use markdown-it plugins in type-safe manner; bump deps
3 weeks ago
Bjorn Lu
bf2715ed67
feat: prevent `$` symbol selection in shell code ( #5025 )
3 weeks ago
Dmitrii Savelev
be260fda6e
fix(theme): use nav height css var for curtain top in sidebar ( #4993 )
1 month ago
Brainshaker95
113d230478
fix(theme): disable whitespace wrapping for VPBadge ( #4968 )
2 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>
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
d46107fa25
fix(client,a11y): improve focus handling and scrolling behavior in router ( #4943 )
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
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
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
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
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
3d0fafba54
fix: hmr of style blocks in dynamic routes ( #4903 )
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
Artea
0ca25ca314
refactor(nav,layout): use `InjectionKey` ( #4880 )
...
---------
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
Artea
e1a35b63b3
chore(devtool): remove `as any` ( #4881 )
4 months ago
Divyansh Singh
eb7658d406
fix(theme): don't add `rel=me` for team members
4 months ago
Andrey Nering
34886c667d
feat(theme): add `rel="me"` to social links by default ( #4873 )
4 months ago
Triumph-light
f56dd608f6
chore: delete unused value params ( #4860 )
4 months ago
Bojan Rajh
8c027c2a7c
feat: add source param to the deadlink check fn ( #4870 )
4 months ago
Divyansh Singh
b840877aa8
fix(client): base not stripped from relativePath in 404 pages
...
closes #4850
4 months ago
Divyansh Singh
8b232171cc
fix(search): style tweaks for when searches are empty
4 months ago
Divyansh Singh
162c6a69bf
fix(search): input placeholder being cut off in smaller viewports
4 months ago