Open nathnhughes opened 2 years ago
Would be great to be able to use the highlight-keywords plugin for more granular styling.
highlight-keywords
Got it working locally by playing around with the source code. It seems all that needs to be done is to add 'highlight-keywords' to the PLUGINS array:
PLUGINS
https://github.com/sergioramos/remark-prism/blob/49f1f86d50f376c647214c02cf972ce05b0fc756/src/highlight.js#L11-L21
Happy to submit a PR that resolves this; believe it also relates to #260 👍
@nathnhughes - let's get a PR added!
@stephencweiss on it, see #345 👍
Would be great to be able to use the
highlight-keywords
plugin for more granular styling.Got it working locally by playing around with the source code. It seems all that needs to be done is to add 'highlight-keywords' to the
PLUGINS
array:https://github.com/sergioramos/remark-prism/blob/49f1f86d50f376c647214c02cf972ce05b0fc756/src/highlight.js#L11-L21
Happy to submit a PR that resolves this; believe it also relates to #260 👍