Evan You
da1691d77e
feat(theme): support extending default theme without importing fonts
2 years ago
Evan You
24735dbcde
perf(theme): preload font
2 years ago
Evan You
5dd2a233b1
docs: preload home page images
2 years ago
Evan You
32dfaf5adc
fix(types): allow void return in transformHead hook
2 years ago
Evan You
2bf8df4bae
BREAKING CHANGE: markdown.headers is now disabled by default
2 years ago
Evan You
468c049ccd
feat: expose page and assets on build hooks TransformContext
2 years ago
Evan You
b86988333b
fix DocOutlineDropdown visible range
2 years ago
Evan You
dc88efecff
chore: fix tests
2 years ago
Alija Sabic
3aea38991c
Add symbol for header anchor as CSS variable and rule using :before
2 years ago
Alija Sabic
3355fcc1df
Provide accessible markdown-it-anchor configuration using ZeroWidthSpace (HTML Entity) and custom renderAttrs
2 years ago
Alija Sabic
9a315d8855
Revert "Provide accessible markdown-it-anchor configuration"
...
This reverts commit f8d81e377c
.
2 years ago
Alija Sabic
a100f88993
Revert "Update theme-default style for accessible header-anchors"
...
This reverts commit 7b941cd1b0
.
2 years ago
Alija Sabic
03e9e4206a
Update theme-default style for accessible header-anchors
2 years ago
Alija Sabic
86259682c8
Provide accessible markdown-it-anchor configuration
2 years ago
Evan You
7182c4231f
feat(theme): page outline for mobile
2 years ago
Evan You
15a2dd2eb9
adjust custom container bg contrast
2 years ago
Evan You
3b6a6d1abd
feat(theme): a11y improvements
2 years ago
Evan You
6ca34c4236
feat(theme): aria-label for social links
2 years ago
Evan You
43f6f02eb8
release: v1.0.0-alpha.56
2 years ago
Evan You
2f26693a1d
fix: do not include head tags in inlined site data
2 years ago
Evan You
b79b8734f3
release: v1.0.0-alpha.55
2 years ago
Evan You
03423f13aa
docs: add example for vite / vue options
2 years ago
Evan You
9aafc88d59
fix: fix scroll to hash on new tab during dev
...
close #653
2 years ago
Evan You
470ce3d3f3
fix: gracefully handle config update with syntax error
...
close #2041
2 years ago
Evan You
31b548c718
docs: fix location description of the public dir
...
Should be relative to srcDir instead of project root
2 years ago
Evan You
d64a76eb36
perf: kickoff main chunk fetch earlier in browsers without modulepreload support
2 years ago
Evan You
22ace7b075
perf: inline site data on page
...
Previously the site data is bundled in JavaScript, and when it changes,
it invalidates the chunk hash of the framework chunk, and in turn
invlidates the chunk hash of **every page**.
With this change, the site data is now inlined in each page as a JSON
string, similar to the page chunk hash data. This ensures that config
changes will no longer affect JavaScript chunk hashes.
2 years ago
Evan You
8b34a4c058
release: v1.0.0-alpha.54
2 years ago
Evan You
bed202dbcc
fix: fix chunking logic that causes breakage
...
follow up of 905f58b
fix #2072
fix #2073
fix #2074
fix #2075
2 years ago
Evan You
a7cca23c37
release: v1.0.0-alpha.53
2 years ago
Evan You
2d22d02917
docs: clarify clean urls
2 years ago
Evan You
d2838e3755
feat: createContentLoader
2 years ago
Evan You
905f58b2a8
fix: avoid circular dependency between siteData virtual module and useData()
...
close #2072
close #2073
close #2074
2 years ago
Evan You
aa5b0b4cd7
docs: frontmatter updates
2 years ago
Evan You
e5cfe96ece
docs: tweak mpa mode
2 years ago
Guillaume Chau
192708de67
feat(theme): editLink can accept function ( #2058 )
2 years ago
Divyansh Singh
90e924a965
release: v1.0.0-alpha.52
2 years ago
Divyansh Singh
c7855eea35
chore: bump deps
2 years ago
Divyansh Singh
9ceff1d587
fix: trim spaces from outline headers
2 years ago
Evan You
e4abb76454
docs: more details on where to place header config
2 years ago
Evan You
8ab36d05fa
fix: properly serialize header in outline
...
BREAKING CHANGE: default theme config option `outlineBadge` has been
removed. Badges in headers are now always excluded when generating
outline text.
2 years ago
Evan You
8e55c819dc
docs: add notes about headers
2 years ago
Evan You
9bd940f22c
fix: remove @vue/devtools from force include
2 years ago
Divyansh Singh
2d28bd6da0
docs: use relative links
2 years ago
Divyansh Singh
56f5031514
docs: overriding internal components
...
closes #235
2 years ago
Evan You
aa8b03ceac
docs: add analytics
2 years ago
Evan You
9708510cbd
fix: fix line higlighting for empty lines
2 years ago
Evan You
6ce88da3ba
fix: fix rewrites with non ascii chars
...
close #2017
2 years ago
Evan You
e05a3f2b5a
fix: fix same page hash links with encoded chars
...
close #1749
2 years ago
Evan You
868a9ff81e
feat: allow disabling markdown.headers
2 years ago