ember-prism icon indicating copy to clipboard operation
ember-prism copied to clipboard

How to provide defaults for prism plugins

Open chrisvdp opened this issue 4 years ago • 1 comments

In the latest release of ember-prism, normalize white space was added. We handle our whitespace a little differently than the default setting. Is there a way to change the values? I found https://prismjs.com/plugins/normalize-whitespace/ but I am not sure how to set these values.

chrisvdp avatar Jun 23 '20 15:06 chrisvdp

Hi @chrisvdp I'm not sure we actually do allow passing a config currently. We probably should make that an option though.

RobbieTheWagner avatar Jun 23 '20 19:06 RobbieTheWagner