Commit Graph

612 Commits (a62ea6a832a33b756642b24ad5d38c248e08b554)

Author SHA1 Message Date
SuperLi 143b1e91f3
feat(markdown): support including specific regions from markdown files (#3978)
1 year ago
Divyansh Singh 7fcf462eb8 fix(build): respect frontmatter.lastUpdated for pageData.lastUpdated and sitemap generation
2 years ago
Divyansh Singh 99053baea7
feat(cli/init): allow passing target dir as command argument (#3948)
2 years ago
Divyansh Singh 1e8bb48bc2 feat: support `force-auto` as an option for appearance
2 years ago
Divyansh Singh e24899a073 fix(build): don't normalize links containing target or download property
2 years ago
Jeferson S. Brito afc611d399
fix(theme,a11y): handle overflow on long mathematical equation and make tables focusable (#3932) (closes #3914)
2 years ago
Divyansh Singh 7ea357256c fix: dont escape ampersand twice in title
2 years ago
Divyansh Singh 49b1233378 fix: escape title properly in build
2 years ago
Azat S cb308b9295
fix(a11y): make code blocks accessible with keyboard (#3902)
2 years ago
Divyansh Singh d5dbd704ce
fix(markdown): entities and escapes not working properly (#3882)
2 years ago
Divyansh Singh 0cbb469842
feat(build): add localeIndex to md.env (#3862)
2 years ago
Nozomu Ikuta ed6ada7a68
feat(build/i18n): support customizing copy code button's tooltip text (#3854)
2 years ago
Divyansh Singh 728cb15677
fix: render 404 page completely on client to infer locale from browser path (#3858)
2 years ago
Divyansh Singh 620ee6ac4b
chore: bump deps, fix dts generation (#3856)
2 years ago
Divyansh Singh 9b2dd504fa chore: minor tweaks
2 years ago
Divyansh Singh f0debd20f4 fix(build): show file info on error
2 years ago
Divyansh Singh 729a890669
fix(dev): multiple server instances being created when editing config too quickly (#3835)
2 years ago
Divyansh Singh 576e43aef4 refactor: simplify code
2 years ago
Divyansh Singh d02d1e923a fix(build/regression): markdown backslash escapes not working
2 years ago
Divyansh Singh a1ced36553 chore: override text renderer before calling user config
2 years ago
Evan You f86ac56b78 fix: let vue compiler handle entity decoding
2 years ago
meteorlxy 11f4c9aee3 fix: sync updates of markdown-it types
2 years ago
btea cd5adf3011
feat: config file hot update error prints error message (#3592)
2 years ago
Xinyu Liu d3dd4bc938
feat: upgrade markdown-it types to v14 (#3772)
2 years ago
Divyansh Singh 54c46e7ceb docs: adjust install and init commands
2 years ago
Divyansh Singh 5d3cb96ac3
fix(build): ship built-in vue-demi to avoid resolution issues (#3680)
2 years ago
烽宁 f7aef3ca23
fix(localSearch): remove empty titles that may appear in search results (#3665)
2 years ago
Divyansh Singh 86c0967297 chore: bump deps and switch to polka/compression
2 years ago
Timothy Lau 59183e9cef
fix(build): resolve patter relative to srcDir instead of root in createContentLoader (#3638)
2 years ago
Anthony Fu 1d16a85fdf
chore: upgrade to shiki rc (#3550)
2 years ago
Divyansh Singh 67a9964c4e chore: fix typo
2 years ago
Divyansh Singh 8f8a6feb05 fix(md): dont break on nesting blockquotes inside gfm alerts
2 years ago
Anthony Fu b8487d3a97
feat: rename shiki packages (#3506)
2 years ago
Divyansh Singh 5811b62657 fix: handle CRLF in snippet plugin
2 years ago
Anthony Fu ac87d19ca1
feat: support GitHub-flavored alerts (#3482)
2 years ago
Divyansh Singh 5dab5e3ced refactor: simplify line filling a bit
2 years ago
Divyansh Singh c2b4c66e79 fix(client): add computed dir and lang to html root
2 years ago
Divyansh Singh a6cd891d95
fix: fix theme chunking logic causing out-of-order styles (#3403)
2 years ago
Divyansh Singh 862b4be867 refactor: remove legacy stuff
2 years ago
vanchKong 3052002b47
docs: add Chinese translations (#2249)
2 years ago
Divyansh Singh b29b3b38e1
refactor: drop dependency on mrmime (#3400)
2 years ago
Divyansh Singh 27f60e0b77
fix: invalidate module cache for subsequent builds (#3398)
2 years ago
Divyansh Singh 09e48db355 feat: allow passing options to emoji plugin
2 years ago
Divyansh Singh 176c4008c5 refactor: make conditions more robust
2 years ago
Divyansh Singh 1c9f2aa8e4 refactor: use hast transform instead of regex for filling lines
2 years ago
Divyansh Singh 563020ba61 fix: fill all empty code lines
2 years ago
Yuxuan Zhang ac5881eeac
perf(localSearch): add concurrency pooling, cleanup logic, improve performance (#3374)
2 years ago
Kia King Ishii d10bf42c26
feat(theme): new design for local nav and global header (#3359)
2 years ago
Divyansh Singh 621254300d
chore: bump deps (#3390)
2 years ago
烽宁 55be3f14d7
feat: support custom image lazy loading (#3346)
2 years ago
arianrhodsandlot 6d89a08cb7
fix: print errors when importing an invalid dynamic route (#3201)
2 years ago
Divyansh Singh 9568fea8fc fix(build): clear cache after build
2 years ago
Yuxuan Zhang 6dac9a4dc5
refactor: add concurrent promise pooling for render task (#3366)
2 years ago
Divyansh Singh f4d4280d7d feat(build): enable VUE_PROD_HYDRATION_MISMATCH_DETAILS when DEBUG is truthy
2 years ago
Divyansh Singh 2958b8b839
chore: bump deps (#3345)
2 years ago
Anthony Fu d12e23ddf6
feat: expose `shikijiSetup` hook (#3344)
2 years ago
Anthony Fu 00eec7a4ef
chore: use transformer to clean-up highlight result (#3343)
2 years ago
Anthony Fu 8800195457
feat: update shikiji, support twoslash (#3339)
2 years ago
Ianis Bernard 0f02697353
chore: fix typo (#3279)
2 years ago
Divyansh Singh c3d7f22bd3
fix(build): force assets to go through vite pipeline during dev too (#3258)
2 years ago
Divyansh Singh 33ce7e4478 fix: merge bundledLanguages with user provided languages for less breakage
2 years ago
Anthony Fu 75f18e4733
feat: migrate to shikiji (#3237)
2 years ago
Divyansh Singh a12a00ca78 chore: path separator normalization in assetsDir
2 years ago
Divyansh Singh 134ca6c661 chore: remove capturing group
2 years ago
bonyuta0204 563dc89975
feat(client): allow disabling link auto-prefetching (#3220)
2 years ago
Divyansh Singh a33831bf2c chore: throw error on assetsDir outside outDir
2 years ago
Divyansh Singh 02161d0f79 fix(build): support nested assetsDir
2 years ago
烽宁 672e4946ac
feat(build): html head meta generator (#3219)
2 years ago
翠 / green da73b58c79
fix: CSS missing after build (#3217)
2 years ago
Divyansh Singh d2238eedb7
feat: switch to vite 5 and bump deps (#3200)
2 years ago
Divyansh Singh dbbffa2487 fix(build): remove frontmatter in md file inclusion
2 years ago
Jacob Hummer a850786a56
feat: export `mergeConfig()` (#3143)
2 years ago
Divyansh Singh 6cf1de5e9e
fix(mpa): properly emit assets in mpa mode (#3115)
2 years ago
Divyansh Singh da3d7812a1
fix: don't normalize non-html/non-http links (#3114)
2 years ago
翠 / green d65afc2873
chore: make it work with rollup v4 (#3065)
2 years ago
Divyansh Singh 1ee1c04159 chore: remove dns workaround
2 years ago
Divyansh Singh 7991180080
fix(build): handle .mjs/.mts files as data / path loaders (#3058)
2 years ago
Jason Dai bdb080093f
feat(md): allow customizing container titles globally (#3044)
2 years ago
Divyansh Singh 6f2a2af1ff chore: fix types
2 years ago
Divyansh Singh 8b10848810
build: improve types (#3009)
2 years ago
Divyansh Singh 1a9c32df12 fix: selectively pass env for container titles
2 years ago
Jeff Tian bc96b2bb5b
fix(types): add RegExp to markdown's allowed attributes (#3008)
2 years ago
Divyansh Singh a2750492be fix: snippet hmr not working with rewrites
2 years ago
Divyansh Singh e84f31371e
fix(hmr): handle hmr in imported code snippets (#3005)
2 years ago
Divyansh Singh 7fbfe71b6c fix: handle references in container titles
2 years ago
Divyansh Singh aa40cecd48 fix(build): don't show missing lang warnings with text specifiers in fences
2 years ago
Divyansh Singh 70fe47c1dd
fix(compat): reset setRawMode on process exit (#2994)
2 years ago
Divyansh Singh 4f9a60b0cf feat: allow passing fast glob options to `createContentLoader`
2 years ago
Divyansh Singh 5bb6bb0a14 fix(build): indentation being lost in code blocks
2 years ago
Divyansh Singh 0df88438c7 chore: update ssr.format condition to unblock vite ci
2 years ago
Divyansh Singh f186901a51 fix(build): allow using symlinks with code snippets
2 years ago
Divyansh Singh e99aaad9cf
fix(build): handle importing code snippets not having an extension (#2978)
2 years ago
Divyansh Singh 7271a95948
feat: mathjax support (#2977)
2 years ago
mehm8128 0cd87b1baf
fix: customizing the starting line number even if globally set (#2941)
2 years ago
Divyansh Singh 76e9fe86b2
Revert "fix(build): respect srcExclude in content loader" (#2975)
2 years ago
huluobotx 3023b5c76b
fix(build): respect srcExclude in content loader (#2963)
2 years ago
Divyansh Singh 1fb5d228a2
feat(theme): allow forcing dark mode (#2974)
2 years ago
g-dx c6ff5c7686
feat: process md includes before building local search index (#2906)
2 years ago
fan1312 c0ce7f723e
feat: support for customizing the starting line number in a code block (#2917)
2 years ago
Divyansh Singh 8b76167ccf fix: respect attrs on custom containers
2 years ago