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

Building on the work of @andeersg in #14. Requires #23 left as an exercise for the reader: - 1-based numbering - per-block line numbering - implement for njk and liquid

via #48 and more specifically this comment by @chrisbrownie55 https://github.com/11ty/eleventy-plugin-syntaxhighlight/issues/22#issuecomment-817145606

enhancement
needs discussion

A couple of options: * https://github.com/atom/highlights * One for Gatsby using VSCode: https://github.com/andrewbranch/gatsby-remark-vscode

enhancement

Because of the way Prism renders Markdown tables, things get screwed up because the plugin expects that a `\n` ends the table line, so the markup wrappers end up in...

open-question

I have tried for a while to use the line numbers plugin provided by Prism in Eleventy. But it's to heavily dependent on the browser so it's not possible. Next...

In order to support both use-cases described in the issue, I've added an option called: `ignoreInvalidLanguages`. This option can take take one of two values: - `html` - Fixing the...

There are many opinionated plugins for Prism, that may not satisfy most people. Some will say that X is bloat, while others may have their stuff broken by the unexpected...

Is there a way to add plugins to the plugin configuration? using the function init() ```javascript // init callback lets you customize Prism init: function({ Prism }) { Prism.languages.myCustomLanguage =...

Is there a way to add plugins to the plugin configuration? using the function init() ```javascript // init callback lets you customize Prism init: function({ Prism }) { Prism.languages.myCustomLanguage =...

Is there a way to add plugins to the plugin configuration? using the function init() ```javascript // init callback lets you customize Prism init: function({ Prism }) { Prism.languages.myCustomLanguage =...