7.0.0 (2026-09-16)
Features
-
support code block line highlighting (commit 1bcd84d)
- Parse fence metadata for line highlighting, support custom highlighters, and cancel stale delayed preview renders.
-
replace
.md-editor-darkwith.md-editor[data-theme="dark"]for theme toggling (commit 6d408c9)
Fixed Bugs
-
disable raw HTML parsing in markdown-it (commit 22ba4aa)
-
correct input box width change event casing (commit d7cf506)
- Rename oninputBoxWidthChange to onInputBoxWidthChange across event declarations, runtime forwarding, JSX usage, and API references.
- BREAKING CHANGE: replace oninputBoxWidthChange listeners with onInputBoxWidthChange.
-
replace dynamic option evaluation with JSON5 (commit 909d153)
- Parse ECharts code blocks as data and require a top-level object.
-
keep code line numbers aligned after wrapping (commit 8202ccd)
Others
-
chore(deps): upgrade @vavt/markdown-theme (commit d556e26)
-
chore(config): update CDN extensions and v7 integration docs (commit fead4ea)
-
ci(publish): merge beta and latest publish into one workflow (commit 0b2a19c)
- npm trusted publishing allows only one trusted workflow per package, so
- both release channels now live in publish.yml and pick the npm dist-tag
- from the trigger ref. NPM_TOKEN is no longer needed.
- Release note generation and issue notification move to versioned scripts
- under .github/scripts/, keeping the workflow file declarative.
- Checkout keeps fetch-depth: 0 because both scripts resolve the previous
- tag from history, and pushing the CHANGELOG commit fails on a shallow
- clone. Publish permissions are scoped to the job, and a concurrency group
- serializes runs that write to npm or the default branch.
Full Changelog: v6.5.6...v7.0.0