Divyansh Singh
40da998ec8
release: v2.0.0-alpha.13
10 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.
10 months ago
froQ
a6e6e59905
refactor: use shiki's transformerMetaHighlight
10 months ago
Divyansh Singh
1ccb1c377e
ci: bump actions and node versions
10 months ago
Divyansh Singh
4e548f5424
fix: simplify lang extraction logic; use markdown-it plugins in type-safe manner; bump deps
10 months ago
WuMingDao
eddf0ca257
docs(zh): add comment translations in extending-default-theme.md ( #5026 )
10 months ago
Bjorn Lu
bf2715ed67
feat: prevent `$` symbol selection in shell code ( #5025 )
10 months ago
WuMingDao
8da5e74948
docs(zh): add comment translations in deploy.md ( #5024 )
10 months ago
Dmitrii Savelev
be260fda6e
fix(theme): use nav height css var for curtain top in sidebar ( #4993 )
11 months ago
edison
78790025ac
docs: correct component name in headers [lunaria-ignore] ( #4989 )
11 months ago
Roman Hořeňovský
7658ad3500
docs(en): add watch option documentation for dynamic routes ( #4987 )
11 months ago
Divyansh Singh
d07bcca959
docs: make links in home page relative
11 months ago
Kenzo Wada
e0d739ab48
docs(ja): add Japanese translations ( #4969 )
11 months ago
千坂神奈子
ac5ddd365a
docs(zh): sync reference/default-theme-last-updated.md ( #4974 )
11 months ago
Brainshaker95
113d230478
fix(theme): disable whitespace wrapping for VPBadge ( #4968 )
11 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>
12 months ago
Divyansh Singh
612c45895d
fix: git log parsing when there are empty commits in history ( #4965 )
12 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.
12 months ago
Miroma
34cfa91b6f
feat(theme): allow passing functions for nav links ( #4963 )
12 months ago
Divyansh Singh
31d87e2738
feat: export cacheAllGitTimestamps and getGitTimestamp
...
x-ref: https://github.com/vuejs/vitepress/issues/4954#issuecomment-3337312956
12 months ago
Divyansh Singh
6dfcdd3fe8
perf: make a single git call for timestamps instead of calling it for each file ( #4958 )
12 months ago
Divyansh Singh
6d7422f8fa
fix: respect markdown.cache = false on build too
12 months ago
Divyansh Singh
f386c1a3d4
ci: add cron schedule for stale action
12 months ago
Divyansh Singh
08ca699175
test: use global timeouts in static data hmr tests
12 months ago
Olusegun Durojaye
09a6db645f
docs: add CloudRay Deployment Guide ( #4949 )
12 months ago
Divyansh Singh
fae8c3b89d
docs: add link to v1 docs
...
closes #4945
12 months ago
Divyansh Singh
d46107fa25
fix(client,a11y): improve focus handling and scrolling behavior in router ( #4943 )
1 year ago
Bugo
850c429f14
docs(ru): update `ru/guide/what-is-vitepress.md` ( #4941 )
1 year ago
Divyansh Singh
fe26488bbc
docs: fix incorrect lang being applied on all pages
1 year ago
Joaquín Sánchez
7ed8fd3e95
docs: use `es` instead `es-CO` and update copyright notices ( #4936 )
1 year 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>
1 year ago
Divyansh Singh
c2eaccd0d2
fix(theme): avoid use of `:where` in selector list for now
...
x-ref: #4923
1 year ago
Divyansh Singh
f0b29d7ef3
fix(theme): add lang and dir attributes to language picker
1 year ago
Divyansh Singh
2e4978e3ad
docs: format custom containers [lunaria-ignore]
1 year ago
Divyansh Singh
dd29348466
chore: bump deps
1 year ago
Xinyu Liu
648db6b3d2
docs: update description of vuepress ( #4922 )
1 year ago
Divyansh Singh
82fac5d22c
fix(theme): adjust margin of code blocks inside containers
...
closes #4921
1 year ago
Divyansh Singh
2b77fb3a72
fix: print full path in dead links check
...
closes #4919
1 year ago
Divyansh Singh
a248995891
release: v2.0.0-alpha.12
1 year ago
Divyansh Singh
d1a8061eb4
fix(hmr): don't load config twice on server restart
1 year ago
Divyansh Singh
d3a15673bd
fix(hmr): no need for server restart on theme change
1 year 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.
1 year ago
Divyansh Singh
1c8815d53e
fix(theme): use clipboard-check instead of clipboard-copy for code copied icon
1 year ago
Divyansh Singh
43b36c0c19
fix(theme): fix local nav alignment and increase touch area
1 year ago
Divyansh Singh
b83799a6e7
chore: bump deps
1 year ago
Divyansh Singh
914467e17f
fix: hmr not working for snippet imports in dynamic routes
1 year 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>
1 year ago
Divyansh Singh
9238e00c9f
test: add postcssIsolateStyles snapshots
1 year 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.
1 year ago
Divyansh Singh
991c780a07
docs: recommend v2 for new users
1 year ago