Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 5, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@11ty/eleventy-plugin-syntaxhighlight (source) ^2.0.3 -> ^4.0.0 age adoption passing confidence

Release Notes

11ty/eleventy-plugin-syntaxhighlight

v4.2.0: Eleventy Syntax Highlighter v4.2.0

Compare Source

Full Changelog: 11ty/eleventy-plugin-syntaxhighlight@v4.1.0...v4.2.0

v4.1.0: Eleventy Syntax Highlighter v4.1.0

Compare Source

What's Changed

New Contributors

Full Changelog: 11ty/eleventy-plugin-syntaxhighlight@v4.0.0...v4.1.0

v4.0.0: Eleventy Syntax Highlighter v4.0.0

Compare Source

Adds new highlight JavaScript function, for use in 11ty.js templates.

Docs: https://www.11ty.dev/docs/plugins/syntaxhighlight/#javascript-function-(for-11ty.js)

e.g. sample.11ty.js:

module.exports = function(data) {
  let result = this.highlight("js", "var test;");
  return result;
};

v3.2.2: Eleventy Syntax Highlighter v3.2.2

Compare Source

  • Bundles the Prism diff-highlight plugin, allowing the use of diff- languages and + and - prefixes on lines.
    • Works as expected with language aliases.
  • Enables Prism silent mode to avoid "Language does not exist" console.logs.

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 and codeAttributes 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.1

Compare Source

Issues Resolved

https://github.com/11ty/eleventy-plugin-syntaxhighlight/issues?q=is%3Aissue+milestone%3Av3.0.1+is%3Aclosed

Links

⭐️ 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.0

Compare 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.

eleventyConfig.addPlugin(syntaxHighlight, {
  alwaysWrapLineHighlights: true
});

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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/11ty-eleventy-plugin-syntaxhighlight-4.x branch from ef435be to 20b8208 Compare February 8, 2023 21:56
@renovate renovate bot force-pushed the renovate/11ty-eleventy-plugin-syntaxhighlight-4.x branch from 20b8208 to e8c9b23 Compare March 4, 2023 22:46
@pull-request-size pull-request-size bot added size/M and removed size/S labels Mar 4, 2023
@matteobruni matteobruni merged commit 989062f into main Mar 5, 2023
@renovate renovate bot deleted the renovate/11ty-eleventy-plugin-syntaxhighlight-4.x branch March 5, 2023 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant