Releases: Microflash/rehype-starry-night
Releases · Microflash/rehype-starry-night
v7.1.1
Patched
- Upgrade to
@microflash/fenceparser@3.1.0
- Upgrade to
hast-util-to-string@3.0.1
Full Changelog: v7.1.0...v7.1.1
v7.1.0
v7.0.0
Removed
- Breaking
wrap
option to soft wrap the entire codeblock by setting it totrue
Full Changelog: v6.1.0...v7.0.0
v6.1.0
Changed
- Rolls back breaking changes in v6.0.0
Added
- Improve diff decorations
Full Changelog: v5.0.0...v6.1.0
v6.0.0
Added
- Plugin to soft wrap lines with
wrap
property
Removed
- Breaking
wrap
option to soft wrap the entire codeblock by setting it totrue
Full Changelog: v5.0.0...v6.0.0
v5.0.0
Added
- Annotate added and removed lines
- Conditionally wrap lines
- Annotate lines as command-line output
- Plugin API to enhance header and lines
- Option to disable or override default plugins
- Imports for default plugins
- CSS properties to control more theming for diffs, prompt, and outline
- Graceful fallback behavior when language info is unavailable
Changed
- Breaking Rename
caption
property totitle
for codeblock titles - Breaking Rename
--hl-code-highlight
to--hl-line-highlight-background-color
Removed
- JavaScript based line-number padding; it is now CSS-based
- Breaking Header extensions in favor of new title and language plugins
Full Changelog: v4.1.0...v5.0.0
v4.1.0
- Updates
@wooorm/starry-night
to v3.4.0
Full Changelog: v4.0.0...v4.1.0
v4.0.0
- Breaking change Upgrade to
fenceparser@3.0.0
which removed the support for specifying the ranges using hyphen (for example,1-5
is now invalid, you should use1..5
instead) - Breaking change
remark-code-directive
plugin is removed in favor ofremark-inline-code-lang
which offers a more concise syntax to inject language information in the inlinecode
elements. It also does not requireremark-directive
as a dependency. - Customizable className prefix for both
rehype-starry-night
andrehype-starry-night-inline
- Customizable marker to inject language information for inline
code
element usingremark-inline-code-lang
plugin
Docs with examples: README.md
Full Changelog: v3.6.0...v4.0.0
v3.6.0
- Updates
@wooorm/starry-night
to v3.3.0
v3.5.0
- Support highlighting inline
code
elements through a custom directive