You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by heinrichcarraro January 20, 2025
Description
I just noticed that the highlighting style of inline code and code blocks is entirely different. Is there some way to achieve a consistent highlighting style.
---highlight-style: github---```{.julia}Y::AbstractMatrix```
And here the inline version `Y::AbstractMatrix`{.julia}.
The code block is correctly formatted using the GitHub style (as much as I can see), but the inline code has a completely different highlighting.
From what I can see in the produced html and css, this seems to be the case because there is a span missing right after the code opening. The current html for the inline code is something like
This is old code from Charles, so I need to understand it well before trying to change anything, but it does not seem right 🤔
For context, I believe this processing exists because we need to support more highlight style than Pandoc itself (highlight-style: github is one of them)
Something does not seem correct in how we process Normal style in them file
Discussed in #11910
Originally posted by heinrichcarraro January 20, 2025
Description
I just noticed that the highlighting style of inline code and code blocks is entirely different. Is there some way to achieve a consistent highlighting style.
Example (Edited by @cderv to remove engine):
The code block is correctly formatted using the GitHub style (as much as I can see), but the inline code has a completely different highlighting.
From what I can see in the produced html and css, this seems to be the case because there is a span missing right after the code opening. The current html for the inline code is something like
If I change this to
then the highlighting is correct, only the background is still wrong. Is there some way I can achieve this without some additional javascript?
The text was updated successfully, but these errors were encountered: