Anthony Fu
b8487d3a97
feat: rename shiki packages ( #3506 )
...
BREAKING CHANGE: vitepress now uses shiki instead of shikiji. If you’re on the latest version and using shikiji specific features, you just need to change imports. The shikijiSetup hook is renamed to shikiSetup.
10 months ago
Anthony Fu
ac87d19ca1
feat: support GitHub-flavored alerts ( #3482 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
10 months ago
Simon Haines
367c6035b7
docs: fix typo ( #3451 )
10 months ago
Divyansh Singh
f8fe3aec39
docs: fix typo
11 months ago
烽宁
55be3f14d7
feat: support custom image lazy loading ( #3346 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
11 months ago
Divyansh Singh
2958b8b839
chore: bump deps ( #3345 )
11 months ago
Nyakku Shigure
6be80372ad
docs: replace CJS style config with ESM in docs ( #3282 )
12 months ago
烽宁
47a7203258
docs: show shikiji languages link instead of shiki ( #3265 )
12 months ago
Anthony Fu
75f18e4733
feat: migrate to shikiji ( #3237 )
1 year ago
Devon Rueckner
2d96200a21
docs: minor phrasing updates ( #3204 )
1 year ago
Jason Dai
a13f5cb3a7
docs(md): global custom container titles ( #3112 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Ryan Luo
62f0e4f109
docs: modify the example usage of postcssIsolateStyles ( #3111 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Divyansh Singh
7271a95948
feat: mathjax support ( #2977 )
1 year ago
fan1312
c0ce7f723e
feat: support for customizing the starting line number in a code block ( #2917 )
1 year ago
Divyansh Singh
3c736c1c95
feat: export postcssIsolateStyles for vp-raw
1 year ago
Divyansh Singh
1f4ae02138
docs: update mdit config to use import
1 year ago
烽宁
1ef33fe1c4
feat: support selecting line range when importing md file ( #2502 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Jeff Tian
0c4210bb5e
feat(build): support nested markdown includes ( #2545 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
CHOYSEN
90478b36cd
feat(build): support relative path for code snippet ( #1894 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
1 year ago
Joaquín Sánchez
a3b38d1882
feat(build): allow using `@` prefix with `@include:` ( #2292 )
2 years ago
Danny Lin
399117088b
docs: add custom anchor example ( #2130 )
2 years ago
Divyansh Singh
2d28bd6da0
docs: use relative links
2 years ago
Evan You
e21a06ce81
docs: move default theme content to reference
2 years ago
Evan You
5ebee75a52
docs: restructure
2 years ago
Evan You
78836522b8
docs: remove yarn references
2 years ago
Evan You
191ac86a85
docs: adjust the use of configs -> config
2 years ago
Alexey Iskhakov
bcb8cbf3c8
fix: custom titles of code snippets inside code groups ( #1834 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Divyansh Singh
c048076370
feat(build): fence-level config for line-numbers ( #1733 )
2 years ago
Divyansh Singh
a684b67ec0
feat: add code-group feature ( #728 ) ( #1560 )
...
close #728
close #1242
Co-authored-by: "Jinjing.Zhou" <allenzhou@tensorchord.ai>
Co-authored-by: Kia King Ishii <kia.king.08@gmail.com>
2 years ago
mancuoj
6ec54896b5
docs: add information to avoid misunderstanding ( #1619 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Xavi Lee
58a7594254
docs: remove extra line ( #1624 )
2 years ago
Divyansh Singh
12ca9dd3c7
docs: remove special characters
2 years ago
Enzo Innocenzi
04ab0eb6dc
feat: support focus, colored diffs, error highlights in code blocks ( #1534 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Divyansh Singh
a5054f6938
docs: mention whyframe in vp-raw section ( #1519 )
2 years ago
Andreas Deininger
1793b87163
docs: fix typos ( #1408 )
2 years ago
Yvan Zhu
b330ebb598
docs: extra word ( #1372 )
2 years ago
Divyansh Singh
9a6e1ea401
feat: add `vp-raw` container ( #1104 )
2 years ago
meteorlxy
0664006e92
refactor: migrate markdown toc plugin ( #1093 ) ( #1207 )
2 years ago
Divyansh Singh
f789932ffc
feat(build): improve code blocks and snippets ( #875 )
...
* refactor: don't hardcode language names
* docs: fix typo
* feat: support specifying language while importing code snippets
* feat: support interpolation inside code blocks
* docs: update v-pre escaping
* fix: ignore starting `>` in case of shell commands
fixes #861 , fixes #471 , fixes #884
2 years ago
Divyansh Singh
e4c60ab3c8
fix: remove explicit noopener from external links ( #871 )
2 years ago
Eulier González
95a74e58a4
docs: add including markdown content to guide ( #938 )
...
Co-authored-by: Eulier <eulier@toolboxos.com>
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
0x009922
31c863d14c
docs: fix docs for usage of regions in snippets ( #421 )
2 years ago
Kia Ishii
1bb2bb1a46
docs: refine structure and add more contents
3 years ago
Kia Ishii
73bbc6143a
feat: new default theme
3 years ago
Mark Wood-Patrick
1617a0438f
docs: edge comment about details ( #569 )
...
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
3 years ago
Divyansh Singh
33a59cd029
docs: update links ( #523 )
...
* docs: update links
* docs: fix 3xx urls
* chore: fix typo
3 years ago
Jeff Yang
a8f147f153
feat: add details custom container ( #455 )
3 years ago
Sabertaz
46145bfb16
docs: change Markdown TOC to correct package name ( #344 )
3 years ago
Eduardo San Martin Morote
26b5aa931f
feat: upgrade markdown-it-anchor ( #350 )
...
BREAKING CHANGE: the `markdown.anchor` option is updated. Refer to
valeriangalliat/markdown-it-anchor#permalinks for
instructions to upgrade your existing `markdown.anchor.permalink`
option. **This doesn't affect you if you weren't changing the header
permalinks behavior**.
3 years ago
Evan You
4925fb5c29
feat: info custom container
3 years ago