Closed ewjoachim closed 1 year ago
@ewjoachim
The latest cmarkgfm
release makes an adjustment to how code blocks are rendered by removing CSS class assignments and favoring a lang
attribute instead.
I've not studied the code here, but I did notice your earlier reference to the code
class and this section of related code:
I'm sharing this in case there is any related concern to what you are working on here in this PR.
Indeed! A good thing the dependency is restricted to <0.6.0 in setup.py, so our code won't have to handle both versions!
I guess it's something we'll have to look at when we upgrade but hopefully, when we do this, the impacts will be studied.
Oh there's an overlap with #120 !
In order to avoid strange things, it would be better to ensure that rendered READMEs only contain the subset of classes that we expect them to contain.