Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump @11ty/eleventy-plugin-syntaxhighlight from 3.0.1 to 4.2.0 in /website #341

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Dec 1, 2022

Bumps @11ty/eleventy-plugin-syntaxhighlight from 3.0.1 to 4.2.0.

Release notes

Sourced from @​11ty/eleventy-plugin-syntaxhighlight's releases.

Eleventy Syntax Highlighter v4.2.0

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

Eleventy Syntax Highlighter v4.1.0

What's Changed

  • preAttributes and codeAttributes options can be callback functions by @​chriskirknielsen in #50 #52
  • Fix Extra blank lines in highlighted output @​rmcginty in #59 #60
  • Demo style improvements #64
  • Add nunjucks and njk languages, aliased to jinja2 #68.

New Contributors

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

Eleventy Syntax Highlighter v4.0.0

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;
};

Eleventy Syntax Highlighter v3.2.2

  • 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.1.1

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

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@11ty/eleventy-plugin-syntaxhighlight](https://github.com/11ty/eleventy-plugin-syntaxhighlight) from 3.0.1 to 4.2.0.
- [Release notes](https://github.com/11ty/eleventy-plugin-syntaxhighlight/releases)
- [Commits](11ty/eleventy-plugin-syntaxhighlight@v3.0.1...v4.2.0)

---
updated-dependencies:
- dependency-name: "@11ty/eleventy-plugin-syntaxhighlight"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants