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
My guess is that the syntax highlighting for diff doesn't support side by side diffs?
It seems so, yes. I tried diff a.txt b.txt --color and that worked.
Is there any way to add support for side by side diffs ?
If yes, could you please point me in the right direction? (I'm willing to try to add them)
You would have to update the syntax highlighting Sublime uses to support it but even then we're stuck with old versions of their syntax due to the library we're using for syntax highlighting so I'm not sure it would work.
Bug Report
```diff
code blocks are not syntax highlighted despite documentation saying their highlighting is supported.Step to reproduce
I'm sorry if the docs refer to some other diff than the linux diff command.
In that case, please clarify what it actually refers to.
Excerpt from markdown file:
If I omit the diff command, and only show output, like so:
It is still not colorful.
Environment
Zola version: zola 0.19.2
Expected Behavior
The diff block is colorful (what I see in bash):
Current Behavior
Syntax highlighting for diff block doesn't work, it stays black and white.
The text was updated successfully, but these errors were encountered: