2.0.0-beta.49 (2022-07-11)
Bug Fixes
- bundler-vite: handle process.env replacement in dev (20f8a3f)
- cli: check dest path correctly (close #954) (6a18c91)
- theme-default: fallback select language aria-label correctly (d450478)
- theme-default: fix 404 page style regression (close #963) (6a26f0b)
- theme-default: fix minor issues of collapsible sidebar (close #967) (022e611)
- theme-default: make headings anchor non-selectable (#973) (5020fc1)
Code Refactoring
- markdown: externalize custom component plugin (a1909c0)
- markdown: externalize headers and title plugin (8441569)
- markdown: externalize sfc plugin (a23aaa1)
Features
- markdown: support frontmatter options (6056e37)
- theme-default: try to keep current hash across languages (a13c1e7)
- utils: add isChildPath util (698e599)
BREAKING CHANGES
- markdown:
markdown.extractHeaders
has been renamed to markdown.headers
- markdown:
markdown.extractTitle
has been renamed to markdown.title
- markdown:
markdown.hoistTags
has been renamed to markdown.sfc
- markdown: node-api
page.hoistedTags
has been renamed to page.sfcBlocks
- markdown:
markdown.customComponent
has been renamed to markdown.component