Miroma
bcda4a5311
Merge 2d0695b3b2 into f1bef95eee
1 day ago
Divyansh Singh
f1bef95eee
fix(theme): keep pnum,tnum features in Inter
...
closes #5096
2 days ago
Tatsunori Uchino
f09593b073
fix(theme): add `rel="alternate"` and `hreflang` to links in language menu ( #5108 )
2 days ago
Tatsunori Uchino
a01bba0cad
feat(theme): add Japanese translation for "copied" label ( #5106 )
3 days ago
Divyansh Singh
d7effffdbb
feat(theme): enable text-autospace and text-spacing-trim ( closes #4996 )
3 days ago
Divyansh Singh
3146ce48ed
feat(theme): support specifying list of details in home page features ( closes #5101 )
3 days ago
Divyansh Singh
436024124a
chore: adjust heading level
4 days ago
Divyansh Singh
949e9b1df8
release: v2.0.0-alpha.16
4 days 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>
4 days ago
Miroma
2d0695b3b2
feat(md): make stripping markers configurable
1 week ago
Miroma
49425d3d58
fix(md)!: warn if region not found, strip #regions
...
when a region is not in the source file,
instead of including the whole file,
warn that the #region was not found in it.
fix #4625
---
`<<<` snippets now also strip out all #region markers:
```file.ts
// #region A
// #region B
console.log("Hello, World!");
// #endregion
// #endregion
```
<<< file.ts#A
...does not include "#region B" anymore
1 week ago
Miroma
d1436f9751
fix(md)!: include all regions with the same name
...
VitePress supports including a part of a file through a VS Code region.
However, when multiple regions have the same name, only one is included.
The workaround plugin suggested in #3690 is no longer maintained. [^1]
Furthermore, it suffers from a memory leak causing huge RAM usage. [^2]
While we at Fabric Docs have forked the plugin [^3] to fix some issues,
it still feels fragile. Another problem is having to use two different
syntaxes (`<<<` vs `@[]()`) for doing the same thing, causing confusion.
Since this feature has been requested by VitePress directly, I don't
think there's any point in working on the plugin any further.
fix #3690
[^1]: <https://github.com/fabioaanthony/markdown-it-vuepress-code-snippet-enhanced/issues/7 >
[^2]: <https://discord.com/channels/507304429255393322/1208846408552030238/1407245292482330695 > via <https://discord.fabricmc.net/ >
[^3]: <https://github.com/IMB11/md-it-enhanced-snippets >
1 week ago
Hayden Hung Hoang
d4796a0373
docs: add vitepress-plugin-typesense npm link ( #5100 )
2 weeks ago
Divyansh Singh
a28e171604
fix(theme): remove margin between code groups and blocks in markdown containers
...
closes #5099
2 weeks ago
hotdogc1017
f8d8c0d712
feat(theme): use `@layer __vitepress_base` to wrap the styles in base.css ( #4905 )
3 weeks ago
seeksky
923aa90252
fix(theme): highlight active link in mobile nav menu ( #5086 ) ( closes #5068 , closes #5074 )
3 weeks ago
seeksky
b2008654ff
fix(theme): align badges in h1 and h2 ( #5087 ) ( closes #5063 )
3 weeks ago
Michael Cozzolino
f119b18e39
fix(theme): add fallback for `heroImageSlotExists` ( #5076 )
...
for users who are importing VPHero in custom theme
4 weeks ago
Evan You
66cf64e6d1
fix: always log error when failed to fetch page
1 month ago
Divyansh Singh
8ed6ea048c
fix(theme): overflow clip is buggy on safari
...
closes #5050
x-ref: 06f0e1a (#5039 ), 0ee7158 (#5027 )
2 months ago
rockyxwall
bd748dfa73
docs: fix mathjax plugin install command
2 months ago
sugar
6d3ffef12e
docs: explicitly recommended v4 of markdown-it-mathjax3 ( #5043 )
2 months ago
Divyansh Singh
3f888218fc
chore: adjust heading level
2 months ago
Divyansh Singh
d954dc86f1
release: v2.0.0-alpha.15
2 months ago
Divyansh Singh
06f0e1a5c9
fix(theme): navbar overflowing on mobile devices
...
closes #5039
2 months ago
Divyansh Singh
bae5397cd7
release: v2.0.0-alpha.14
2 months ago
Kevin Deng
5e0d7dab83
chore: replace debug with obug ( #5030 )
3 months ago
Divyansh Singh
b8f3c46a0b
chore: bump deps
3 months ago
Yuji Sugiura
d16d1970bc
chore: update oxc-minify to 0.98 ( #5033 )
3 months ago
Divyansh Singh
9183680847
docs: update github search links
3 months ago
Divyansh Singh
179ee621d9
fix: log dead links in dev mode too
...
closes #4419
3 months ago
Divyansh Singh
dfb02a479f
feat(client): emit `vitepress:codeGroupTabActivate` custom event when a code group tab is activated
...
closes #5023
3 months ago
Divyansh Singh
cd01bc669b
docs: mention that relative bases are not supported
...
closes #5029
3 months ago
Divyansh Singh
0ee71588de
fix(theme): sidebar alignment when scrollbar is there on page
...
closes #5027
3 months ago
Bugo
dedcc0e17c
docs(ru): update `ru/guide/what-is-vitepress.md` ( #5028 )
3 months ago
Divyansh Singh
fc381df5dd
chore: adjust changelog heading
3 months ago
Divyansh Singh
40da998ec8
release: v2.0.0-alpha.13
3 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.
3 months ago
froQ
a6e6e59905
refactor: use shiki's transformerMetaHighlight
3 months ago
Divyansh Singh
1ccb1c377e
ci: bump actions and node versions
3 months ago
Divyansh Singh
4e548f5424
fix: simplify lang extraction logic; use markdown-it plugins in type-safe manner; bump deps
3 months ago
WuMingDao
eddf0ca257
docs(zh): add comment translations in extending-default-theme.md ( #5026 )
3 months ago
Bjorn Lu
bf2715ed67
feat: prevent `$` symbol selection in shell code ( #5025 )
3 months ago
WuMingDao
8da5e74948
docs(zh): add comment translations in deploy.md ( #5024 )
3 months ago
Dmitrii Savelev
be260fda6e
fix(theme): use nav height css var for curtain top in sidebar ( #4993 )
3 months ago
edison
78790025ac
docs: correct component name in headers [lunaria-ignore] ( #4989 )
4 months ago
Roman Hořeňovský
7658ad3500
docs(en): add watch option documentation for dynamic routes ( #4987 )
4 months ago
Divyansh Singh
d07bcca959
docs: make links in home page relative
4 months ago
Kenzo Wada
e0d739ab48
docs(ja): add Japanese translations ( #4969 )
4 months ago
千坂神奈子
ac5ddd365a
docs(zh): sync reference/default-theme-last-updated.md ( #4974 )
4 months ago