Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Releases: deckgo/gatsby-remark-highlight-code

Gatsby v5

08 Jan 10:03
Compare
Choose a tag to compare

Features

  • support Gatsby v5 (in addition to v4 & v3)

Gatsby v4

04 Jan 17:29
Compare
Choose a tag to compare

Features

  • support Gatsby v4 (in addition to v3)

Zero width spaces

01 Dec 16:33
Compare
Choose a tag to compare

Fix

  • clean zero width spaces from clipboard when code is copied

Fix scripts load concurrency

13 Nov 08:52
Compare
Choose a tag to compare

Fix

  • bump required @deckdeckgo/highlight-code dependency to solve concurrent required scripts load for complex languages

Fix highlight lines

28 Jul 17:10
Compare
Choose a tag to compare

Fix

  • no language provided results in an undefined value for the attribute highlight-lines (#40)
  • highlight-lines information might be provided with the node.lang but als with node.meta

Build

  • bump build dependencies

Gatsby and Highlight-Code v3

22 May 12:08
Compare
Choose a tag to compare

Breaking Changes

  • bump peer dependency gatsby to v3
  • bump peer dependency @deckdeckgo/highlight-code to v3
  • highlight lines styling default behavior modified. Instead of background color highlighting, it uses a color contrast ("highlight opacity 1, no highlighted opacity 0.32")

Language attribute

01 May 05:45
Compare
Choose a tag to compare

Fix

  • syntax highlighting for languages other than javascript
  • empty language default to no attribute language

Lines highlighting

17 Feb 16:37
Compare
Choose a tag to compare

Features

  • support for lines highlighting (#28)
  • bump @deckdeckgo/highlight-code peer dependency requirement to v2.4.0

Languages fixes

10 Dec 11:44
Compare
Choose a tag to compare

Inherit peer dependency @deckdeckgo/highlight-code v2.2.2 improvement:

Features

  • display a console.error if the language is not supported

Fix

  • support alias (such as html for markup)
  • load alias required scripts
  • required scripts loading race condition

Option to remove the 3 dots

17 Sep 07:17
Compare
Choose a tag to compare

Features

  • ability to remove the 3 dots in the window (#21)