This repository was archived by the owner on Feb 6, 2024. It is now read-only.
Releases: deckgo/gatsby-remark-highlight-code
Releases · deckgo/gatsby-remark-highlight-code
Gatsby v5
Gatsby v4
Features
- support Gatsby v4 (in addition to v3)
Zero width spaces
Fix
- clean zero width spaces from clipboard when code is copied
Fix scripts load concurrency
Fix
- bump required
@deckdeckgo/highlight-code
dependency to solve concurrent required scripts load for complex languages
Fix highlight lines
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 withnode.meta
Build
- bump build dependencies
Gatsby and Highlight-Code v3
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
Fix
- syntax highlighting for languages other than
javascript
- empty language default to no attribute
language
Lines highlighting
Features
- support for lines highlighting (#28)
- bump
@deckdeckgo/highlight-code
peer dependency requirement tov2.4.0
Languages fixes
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
formarkup
) - load alias required scripts
- required scripts loading race condition
Option to remove the 3 dots
Features
- ability to remove the 3 dots in the window (#21)