I want to replace Chroma highlighting with Prism. Having looked around on the net, I came stumbled upon this post
that suggests to set codeFences to false. However, if I do that, I can’t pass class="line-numbers" as an attribute to the code fence – that is, I can pass it, but it does not appear in the rendered HTML.
OTOH, if I turn on codeFences, the rendered HTML contains an inline style for the pre element that I not only do not want but also can’t really influence. I guess it comes from Chroma?
So, is there a recommended way to replace Chroma with Prism for highlighting while retaining the attributes passed to the code block?