rehype-pretty-code
doesn't preserve the language if it's unknown
#136
Labels
bug
Something isn't working
rehype-pretty-code
doesn't preserve the language if it's unknown
#136
Before upgrading to
0.12.1
, Quartz used to have code that looks like this:This would run in a
remark
plugin beforerehype-pretty-code
does. I'm guessing that the old implementation would respect thehProperties
on thecode
block butshikiji
straight up just replaces it? In any case, this would also be solved ifdata-language
contained the code block language even if it isn't a recognized language (right now, it seems to default to the empty string if it's not detected)The text was updated successfully, but these errors were encountered: