chore(deps): update dependency @11ty/eleventy-plugin-syntaxhighlight to v4 #3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^2.0.3
->^4.0.0
Release Notes
11ty/eleventy-plugin-syntaxhighlight
v4.2.0
: Eleventy Syntax Highlighter v4.2.0Compare Source
prismjs
1.26.0 to 1.29.0syntax-highlight.webc
WebC syntax highlighter component, in-use on https://github.com/11ty/demo-webc-image-compare/blob/358777337366dd2426c064c7bf2b200f10df98a5/index.webc (example usage)Full Changelog: 11ty/eleventy-plugin-syntaxhighlight@v4.1.0...v4.2.0
v4.1.0
: Eleventy Syntax Highlighter v4.1.0Compare Source
What's Changed
preAttributes
andcodeAttributes
options can be callback functions by @chriskirknielsen in #50 #52nunjucks
andnjk
languages, aliased tojinja2
#68.New Contributors
Full Changelog: 11ty/eleventy-plugin-syntaxhighlight@v4.0.0...v4.1.0
v4.0.0
: Eleventy Syntax Highlighter v4.0.0Compare Source
Adds new
highlight
JavaScript function, for use in11ty.js
templates.Docs: https://www.11ty.dev/docs/plugins/syntaxhighlight/#javascript-function-(for-11ty.js)
e.g.
sample.11ty.js
:v3.2.2
: Eleventy Syntax Highlighter v3.2.2Compare Source
diff-highlight
plugin, allowing the use ofdiff-
languages and+
and-
prefixes on lines.v3.2.1
Compare Source
v3.2.0
Compare Source
v3.1.3
Compare Source
v3.1.2
Compare Source
v3.1.1
Compare Source
Improves accessibility friendliness of HTML with the addition of
preAttributes
andcodeAttributes
to options for global attribute additions to the rendered HTML. Pass in an object literal! Thank you @ChrisBrownie55 for #48.Read more at: https://accessibilityinsights.io/info-examples/web/scrollable-region-focusable/
Milestone: https://github.com/11ty/eleventy-plugin-syntaxhighlight/milestone/9?closed=1
v3.1.0
Compare Source
v3.0.6
Compare Source
v3.0.5
Compare Source
v3.0.4
Compare Source
v3.0.3
Compare Source
v3.0.2
Compare Source
v3.0.1
: Eleventy Syntax Highlighter v3.0.1Compare Source
Issues Resolved
https://github.com/11ty/eleventy-plugin-syntaxhighlight/issues?q=is%3Aissue+milestone%3Av3.0.1+is%3Aclosed
Links
eleventy-plugin-syntaxhighlight
Documentation⭐️ Support Eleventy by starring us on GitHub! This will increase our project’s visibility on staticgen.com, a big giant list of static site generators.
🐦 Follow us on Twitter @eleven_ty!
v3.0.0
: Eleventy Syntax Highlighter v3.0.0Compare Source
By default previous versions of Eleventy attempted to wrap each individual line in
<span class="highlight-line">
markup for line highlighting features. This worked in a most cases but was unreliable when tokens stretched between multiple lines (like template literals).In v3.0, lines are only wrapped when line number arguments are passed to the highlighting plugin instance.
You can switch globally back to the old behavior using a configuration option.
Also the docs for this plugin moved to https://www.11ty.dev/docs/plugins/syntaxhighlight/
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.