patternfly-elements icon indicating copy to clipboard operation
patternfly-elements copied to clipboard

PFE-Codeblock: Allow site to customize what languages are included

Open wesruv opened this issue 5 years ago • 0 comments

The languages we currently support (HTML, CSS, JS, C-Like, MathML) don't help with anything in Red Hat Docs, except XML highlighting. I don't want to add every language under the sun into the component, so thinking there might be a way to add languages.

This could be augmenting the version of Prism in the component, or maybe providing a completely different prism include.

Impacted component(s)

  • pfe-codeblock

wesruv avatar Sep 08 '21 16:09 wesruv