Closed trick-treat closed 1 year ago
Is your code block within a callout or something? I can't reproduce your problem unless the code block is inside a callout. I think this is related to my issue #134 , because style (like syntax highlight) of code block inside callout seems to mistakenly use the default theme in callout.
@nigelinux this relevant to reading view only and unfortunately, i don't have a good solution, as i'm using the pre
tag's class as the content, and i don't have control over it.
i'm thinking of reworking/reverting code block styling, so hoping to fix this soon
hey! so i've actually reverted to the simple/non-numbered code blocks. this experiment failed imo and the code blocks were too buggy and too hard to maintain. reverting to the simpler and cleaner code blocks better aligns with the Things style. Thanks!
Your code block's pretty good but "language-cpp" isn't a nice caption. As for me "C++" is brief and better.