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

possibility of adding Prismjs plugins to a config

Open Eliezer516 opened this issue 1 year ago • 0 comments

Is there a way to add plugins to the plugin configuration? using the function init()

    // init callback lets you customize Prism
    init: function({ Prism }) {
      Prism.languages.myCustomLanguage = /* */;
    },

Eliezer516 avatar Nov 15 '23 16:11 Eliezer516