Divyansh Singh
d0f0012aea
feat(theme): support light shiki themes ( #2319 )
...
BREAKING CHANGE: Styling for code blocks might break, especially if you were earlier overriding it for light theme. Those workarounds are no longer required. VitePress will now show code blocks and groups in light mode too if a light shiki theme is specified.
2 years ago
李鹏坤-执手对影成双
3b3bfea94c
docs: add head `<script>` example ( #2264 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Divyansh Singh
64ecedc73f
fix(cli/init): remove trailing slash from npm scripts
2 years ago
Joaquín Sánchez
a3b38d1882
feat(build): allow using `@` prefix with `@include:` ( #2292 )
2 years ago
Divyansh Singh
67443cebb7
ci: add node 20 to matrix
2 years ago
Divyansh Singh
ae041448aa
refactor: improve error message on encountering dead links
...
fixes #2281
closes #2307
closes #2314
Co-authored-by: jd-solanki <jdsolanki0001@gmail.com>
Co-authored-by: Christian Georgi <christian.georgi@sap.com>
2 years ago
Divyansh Singh
e36101c9ec
chore: bump deps
2 years ago
Divyansh Singh
188893c2c1
fix(build): reset regex lastIndex before testing
2 years ago
Joaquín Sánchez
a647cd3843
feat: preserve user log level ( #2310 )
2 years ago
Divyansh Singh
0073a7d8a2
chore: update bug report format
2 years ago
烽宁
494c634eb1
fix(theme): local search get 404 on build when use route rewrites in windows ( #2301 )
2 years ago
zRains
69c7646daf
fix(theme): vitepress data not properly injected in app when use localSearch ( #2299 )
2 years ago
Divyansh Singh
1610b88daf
release: v1.0.0-alpha.74
2 years ago
Divyansh Singh
a644ff8523
chore: bump deps
2 years ago
Divyansh Singh
84cf45772e
fix(build): allow data-loaders files in packages to be found ( closes #2272 )
...
Co-authored-by: John Campion Jr <john@brightshore.com>
2 years ago
Liberty
f7443643a4
feat: allow using html in member description ( #2269 )
2 years ago
烽宁
2f0f2d5ac6
feat(search): support custom `disableQueryPersistence` in local search ( #2273 )
2 years ago
烽宁
25b9111222
feat(theme): mobile view show outline button after removing sidebar ( #2274 )
2 years ago
烽宁
6a195b68c0
chore: remove css file about nprogress ( #2275 )
2 years ago
btea
87d309c088
refactor: resolve circular dependency ( #2283 )
2 years ago
lchzh3473
f3d3332fff
fix(router): scroll back to the hash anchor even if it is already selected ( #2265 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Divyansh Singh
6421eda558
release: v1.0.0-alpha.73
2 years ago
Divyansh Singh
3a76e6239b
chore: bump deps and update lockfile
2 years ago
Divyansh Singh
1f4920c60d
fix(search): fix highlighting in detailed view
...
mark.js ships dist as IIFE which causes lot of issues, but is also has its source available in the package which is _almost_ ESM, so directly using it and locking the version to avoid any issues due to internal changes
2 years ago
btea
1f5798e437
feat: outline link add title attribute ( #2261 )
2 years ago
Divyansh Singh
1769d329cc
refactor: directly use first child instead of querying
2 years ago
烽宁
09be057ffb
fix(search): local search showDetailedList not working in windows ( #2253 )
2 years ago
Divyansh Singh
1e9b925c75
release: v1.0.0-alpha.72
2 years ago
烽宁
8354f8fb86
fix(theme): local search showDetailedList not working in windows ( #2248 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Divyansh Singh
e91e0f91b2
chore: bump deps
2 years ago
Divyansh Singh
e37e5cb45a
fix(search): ready event is not fired on mac
2 years ago
Azat S
67f1f912d9
chore: remove koa types ( #2241 )
2 years ago
Divyansh Singh
732c67b68d
docs: update note on using search in dev mode
2 years ago
Divyansh Singh
3e0e9d2b27
fix(search): don't directly access userConfig
2 years ago
Divyansh Singh
7c34f6a3d9
style: align search icon in box a bit
2 years ago
Divyansh Singh
993d496fea
release: v1.0.0-alpha.71
2 years ago
Divyansh Singh
b1c956ce99
fix(search): properly group nested headings
...
fixes #2238
2 years ago
Divyansh Singh
17558db76b
docs: add message about search in dev mode ( #2239 )
2 years ago
Divyansh Singh
1b0a249ad6
fix(search): esm interop mark.js import
2 years ago
Divyansh Singh
a33d09fa4e
release: v1.0.0-alpha.70
2 years ago
Divyansh Singh
19ce8e5dd6
chore: bump deps
2 years ago
ChuHoMan
144a7d8e4e
fix(search): avoid body scroll when using local search ( #2236 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Divyansh Singh
ca8db8adca
fix(search): fix keyword highlighting and scrolling in excerpts
2 years ago
Anthony Fu
b2077c7025
feat(search): make styling more configurable, align more with the theme ( #2233 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Divyansh Singh
185213c6ba
fix(search): remove double base on importing excepts
...
fixes #2230
2 years ago
Divyansh Singh
be8352441f
fix(search): better highlighting in detailed view ( #2234 )
2 years ago
Divyansh Singh
40f1d1b6f6
feat(search): allow force disabling detailed view
2 years ago
ChuHoMan
fe1f58b700
docs: fix wording in text regarding enabling local search ( #2229 )
2 years ago
Divyansh Singh
6d5b4cd784
fix(search): show escape to close on footer
2 years ago
Divyansh Singh
4fd40d5f62
styles: tweak search icons a bit
2 years ago