Skip to content

Releases: Microflash/rehype-starry-night

v7.1.1

28 Sep 18:21
Compare
Choose a tag to compare

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

02 Sep 15:56
Compare
Choose a tag to compare

Patched

  • Upgrade to @wooorm/starry-night@3.5.0

Full Changelog: v7.0.0...v7.1.0

v7.0.0

02 Aug 16:34
Compare
Choose a tag to compare

Removed

  • Breaking wrap option to soft wrap the entire codeblock by setting it to true

Full Changelog: v6.1.0...v7.0.0

v6.1.0

27 Jul 10:58
Compare
Choose a tag to compare

Changed

  • Rolls back breaking changes in v6.0.0

Added

  • Improve diff decorations

Full Changelog: v5.0.0...v6.1.0

v6.0.0

27 Jul 10:01
Compare
Choose a tag to compare

Added

  • Plugin to soft wrap lines with wrap property

Removed

  • Breaking wrap option to soft wrap the entire codeblock by setting it to true

Full Changelog: v5.0.0...v6.0.0

v5.0.0

07 Jul 17:07
Compare
Choose a tag to compare

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 to title 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

10 Jun 16:49
Compare
Choose a tag to compare
  • Updates @wooorm/starry-night to v3.4.0

Full Changelog: v4.0.0...v4.1.0

v4.0.0

29 Apr 18:40
Compare
Choose a tag to compare
  • 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 use 1..5 instead)
  • Breaking change remark-code-directive plugin is removed in favor of remark-inline-code-lang which offers a more concise syntax to inject language information in the inline code elements. It also does not require remark-directive as a dependency.
  • Customizable className prefix for both rehype-starry-night and rehype-starry-night-inline
  • Customizable marker to inject language information for inline code element using remark-inline-code-lang plugin

Docs with examples: README.md
Full Changelog: v3.6.0...v4.0.0

v3.6.0

13 Apr 07:12
Compare
Choose a tag to compare
  • Updates @wooorm/starry-night to v3.3.0

v3.5.0

07 Jan 14:30
Compare
Choose a tag to compare
  • Support highlighting inline code elements through a custom directive