Commit Graph

265 Commits (4b656feafe45e35cf86bc4b47203ec4e0bc6bdc5)

Author SHA1 Message Date
Divyansh Singh f789932ffc
feat(build): improve code blocks and snippets (#875)
4 years ago
Divyansh Singh 72950337bc
fix: don't add base to external urls while preloading (#1045)
4 years ago
Divyansh Singh 2b4b800618
feat: provide `transformHtml` hook (#1022)
4 years ago
Luka Skugor f6d5697ed7
fix(build): strip custom anchor with capital letters in outline (#1005)
4 years ago
Azat S d5ed66c6d2
feat: allow using custom syntax highlighting themes (#992)
4 years ago
Divyansh Singh e4c60ab3c8
fix: remove explicit noopener from external links (#871)
4 years ago
Divyansh Singh f7e9cfeb3a
fix: de-duplicate head tags while merging (#975) (#976)
4 years ago
Divyansh Singh 0257ea88dc
fix: layout inconsistencies and remove sidebar from 404 page (#964)
4 years ago
Joaquín Sánchez e0b730aa8e
feat: provide build end hook (#709)
4 years ago
fi3ework 1daeaa16a0
fix(build): cache key should consider file path (#948)
4 years ago
Divyansh Singh bb41a9fed7
fix: decode image src so that rollup can process it (#933)
4 years ago
Eulier González 95a74e58a4
docs: add including markdown content to guide (#938)
4 years ago
meteorlxy e7960f4b6b
refactor: reuse original markdown-it renderer rule (#932)
4 years ago
CHOYSEN 4b9b385aff
refactor: simplify config loading (#918)
4 years ago
meteorlxy 9d9db6227d
fix(build): handle vite constants replacement (#419) (#888)
4 years ago
JounQin 29d44e7a22
fix(build): show workaround on encountering dead links (#822) (#868)
4 years ago
Divyansh Singh 19b0758a04
feat(build): allow ignoring dead links (#586) (#793)
4 years ago
Enzo Notario ddf876d8e9
feat(build): allow using custom highlighter (#754) (#857)
4 years ago
Divyansh Singh 378f9b4695 chore: format
4 years ago
JounQin 295263807d
feat(build): allow setting base from command line
4 years ago
Shinigami 75ca9e4302
fix(theme): copy button has wrong tag closing syntax (#816)
4 years ago
CHOYSEN 35772ca8d0
refactor(types): use built-in utility type `Awaited` (#801)
4 years ago
meteorlxy 48fae52d17
refactor: improve site data parsing (#780)
4 years ago
meteorlxy 753f35bf7c
refactor: improve page data parsing (#778)
4 years ago
Divyansh Singh c5c3c64851
fix: title in containers not working with markdown content (#765) (#768)
4 years ago
Divyansh Singh 23276bae05
feat: emit 404.html on build (#729) (#740)
4 years ago
artiely 521601d20b
chore: typo (#783)
4 years ago
CHOYSEN 8bf4182453
refactor: add `PageDataPayload` type (#742)
4 years ago
Divyansh Singh 0ac7ac1a6e
chore: remove unnecessary head tags (#725)
4 years ago
Divyansh Singh 59df10590b
fix: allow lang='ts' on scripts in markdown (#693) (#701)
4 years ago
Divyansh Singh 78a2e84e7b
fix: add default value for base in `createMarkdownRenderer` (#555) (#556)
4 years ago
Brad Veryard 3a07048533
fix: missing alt attribute on images even if provided (#679) (#685)
4 years ago
Anthony Fu 41247fcfa0
feat: support dark/light color themes (#682)
4 years ago
Divyansh Singh 4fd2fad1fa
fix: explicitly set component name (#657) (#681)
4 years ago
Divyansh Singh ae7c255aea
fix: toc cause error when used with heading (#605) (#674)
4 years ago
Divyansh Singh d93b477c76
fix: convert paths in dynamic imports to file urls (#671) (#673)
4 years ago
Kia King Ishii b853910c32 style: format
4 years ago
Divyansh Singh d0fdda6904
fix: more than 4 indented html tags cause error (#638) (#665)
4 years ago
Divyansh Singh b79c66d79c
feat: allow disabling `markdown-it-attrs` (#662) (#664)
4 years ago
Anthony Fu a0f81c9f9d
feat: migrate to ESM (#645) (#659)
4 years ago
Divyansh Singh 7d89b61b92
fix: switch to `markdown-it-toc-done-right` (#388) (#660)
4 years ago
Divyansh Singh 6028cacb81
feat: add copy code element (#473) (#658)
4 years ago
Ryo_gk 1fcf4a4462
feat: use shiki instead of prismjs for syntax highlight (#627) (#654)
4 years ago
Kia King Ishii 36a67bd67d feat: add carbon ads feature (#647)
4 years ago
Kia King Ishii e51d2a8c49 feat: add custom container stylings
4 years ago
Kia King Ishii 67e77f7871 feat: add option to customize title template
4 years ago
Kia Ishii 9250460b3f feat: make appearance configurable
4 years ago
Dominic Elm 1656f0365a
fix(plugin): set content-type header for serving index.html (#616)
4 years ago
Divyansh Singh 33a59cd029
docs: update links (#523)
5 years ago
Fabian Winkler 779b78902f
fix: avoid minimizing non-javascript inline scripts (#517)
5 years ago
Divyansh Singh 9270477fa5
fix: normalize relative img src (#514)
5 years ago
Divyansh Singh 34d1542f46
fix: don't add .html to urls of non-html files (#515)
5 years ago
Divyansh Singh 804954cf4d
fix: append base to links (#502)
5 years ago
Evan You 1ef69e212f feat: improve default chunk strategy + page hash stability
5 years ago
Evan You 23249483d6 feat: automatically update hash map + retry on failed page fetch
5 years ago
Evan You d32d8d4419 feat: use git-based lastUpdated data
5 years ago
Evan You 17aaaf0180 refactor tsconfig setup + migrate to vitest
5 years ago
Evan You 7f9295261f remove unused alias
5 years ago
Evan You b66785d68a feat: scrollOffset option
5 years ago
Divyansh Singh 88d57a93ef
fix: allow overriding title if home is true (#493)
5 years ago
Evan You dfbc932fac fix: set __data in md.render
5 years ago
Evan You 9b3243b757 fix: prioritize vue installed in user project root
5 years ago
Evan You 8288168b4f adjust type exports
5 years ago
Evan You 6f3a96f06d perf: do not include head config in client bundle for production
5 years ago
Evan You 6120da25a8 feat: properly remove custom anchor in headers
5 years ago
Evan You 294b1d2817 refactor: make MarkdowRenderer type compatible with MarkdownIt
5 years ago
Evan You a4b7758a00 chore: tweak temp dir name
5 years ago
Evan You 4cec660401 feat: expose __path and __relativePath on md instance for md plugins
5 years ago
Evan You 7387649ff7 feat: catch localhost links as dead links
5 years ago
Gordon Smith 08a0b12992
fix(serve): respect base config in serve mode (#470)
5 years ago
Jeff Yang a8f147f153
feat: add details custom container (#455)
5 years ago
Bryan Müller 5b04bb9eb5
feat: user configurable `outDir` (#448)
5 years ago
Jeff Yang fb6a4ad3e0
fix: remove `.` for mjs in `supportedConfigExtensions` (#447)
5 years ago
Jonas bd35451ed4
fix: set tempDir outside package root (#439)
5 years ago
fuchunhui ae029ae9e1
fix: Chinese file link build failed (#425)
5 years ago
ULIVZ ba41bb9055
feat: improve typescript support for config file (#465)
5 years ago
Evan You e61db62a1c feat: minify head inline scripts
5 years ago
Evan You e721d60585 feat: shouldPreload hook
5 years ago
Evan You f5308d746f feat: support array of patterns in data loaders
5 years ago
Evan You 6ca3c97ab9 fix duplicated preload directive
5 years ago
Evan You 26fe81c886 feat: support static data loaders
5 years ago
Evan You d54c7d8c56 feat: expose createMarkdownRenderer
5 years ago
Evan You dfa7c0525f fix: handle potential string quote mismatch in generated code
5 years ago
Evan You bc486aae56 fix: static string strip regex for mulitiline static strings
5 years ago
Evan You abb1b578cd fix: improve createStaticVNode match for rollup codegen compat
5 years ago
Evan You a051e66f1a fix: lazy require @vitejs/plugin-vue to respect NODE_ENV
5 years ago
Evan You 4114674c69 fix(hmr): avoid relying on revertd vite hmr behavior
5 years ago
Evan You 773472d867 chore: remove unnecessary log
5 years ago
Evan You d3b1521ebe feat: support ts/esm config file + defineConfig() helper
5 years ago
Evan You 4c042b61e7 fix: fix code line hightlighting
5 years ago
宋铄运 (Alan Song) 4b76617621
fix: support vite plugins provided via `config.vite` (#394)
5 years ago
Evan You df69b76427 fix: print urls again
5 years ago
Evan You ba85fd4d51 chore: cleanup deps
5 years ago
CHOYSEN 58663bbd02
fix: make config hmr work in window (#364)
5 years ago
Anthony Fu 49ddb1f120
workflow: switch to pnpm (#401)
5 years ago
Evan You 3940625121 fix: encode urls that conflict w/ vite built-in replacements
5 years ago
Evan You b3a4c52191 refactor: fix bad requires
5 years ago
Evan You 475dee5154 build: pre-bundle, reduce deps
5 years ago
Evan You 9030486409 feat: upgrade vue, simplify deps
5 years ago
Evan You b59f54abd0 chore: remove debug hash log
5 years ago