As mentioned in https://github.com/DavidCouronne/gridsome-plugin-remark-prismjs-all/issues/7, here is a little PR to give a different class name to inline code blocks. Instead of language-${lang} it sets it to language-inline-${lang}. The existing CSS in the prism theme will still be applied but can be overridden if desired.
Let me know what you think, my js is a bit rough so I appreciate there may be a better solution!
Hi
As mentioned in https://github.com/DavidCouronne/gridsome-plugin-remark-prismjs-all/issues/7, here is a little PR to give a different class name to inline code blocks. Instead of
language-${lang}
it sets it tolanguage-inline-${lang}
. The existing CSS in the prism theme will still be applied but can be overridden if desired.Let me know what you think, my js is a bit rough so I appreciate there may be a better solution!
Thanks again Alex