eleventy-plugin-syntaxhighlight icon indicating copy to clipboard operation
eleventy-plugin-syntaxhighlight copied to clipboard

A pack of Eleventy plugins for syntax highlighting in Markdown, Liquid, and Nunjucks templates.

Results 24 eleventy-plugin-syntaxhighlight issues
Sort by recently updated
recently updated
newest added

How can I show line numbers in the syntax highlighting?

enhancement

One of the reasons I currently use `markdown-it-prism` is because it's compatible with [`markdown-it-attrs`](https://www.npmjs.com/package/markdown-it-attrs), which allows me to specify any custom attribute on an as-needed basis. Like this: ````markdown ```js...

Hi, does anyone have a way for this plugin to work with inline code `like this`? Thanks!

**Situation** I have code blocks in my markdown, like the one below: ```` ```sh echo "Hello!" ``` ```` "sh" is used here purely for the sake of example - I...

The paired shortcode is great when I know that an entire block rendered in my template will be code - but sometimes I'm rendering arbitrary markdown that might have code...

enhancement

When adding the plugin and trying extending languages, only a few are available. Later on other languages will be accessible. This is IMO a bug. > Adding new languages -...

enhancement

Hi, Recently I've tried writing some code with 11ty in markdown and faced with something unexpectable. With block code, everything works fine. But inline code is not. This code ![image](https://user-images.githubusercontent.com/7117660/97748004-d3f48e80-1afd-11eb-9779-096dd0287455.png)...

enhancement

It would be great to pass an additional keywords parameter which is then matched in the code to add highlight or bold. ``` {% highlight lang keywords="['card', 'card-large', 'card-footer']" %}...

enhancement

Not an issue, but I was wondering if there are any code examples or plugins that would add a copy button/icon to the code block so you can copy it...

enhancement

# Short: Added an option to skip language highlighting. # Reason: While working on an internal documentation system, we came across an issue with mermaid-graph rendering and language highlighting. We...

open-question