Open johannst opened 3 years ago
That looks like an issue in the syntax highlighting itself? Can you try writing that in Sublime and see if it highlights correctly?
Thank you for the quick response.
I just installed sublime3, pasted the snippet and changed the syntax to bash
.
Here the highlighting looks fine to me.
Just a small update, I observed a similar issue in a make
code block.
Left is Sublime3, right is the rendered html page.
Bug Report
Environment
Zola version:
0.13.0
Current Behavior
When including redirection chars {
>
,<
} in a code block of typesh
, the syntax highlighting is wrong.Step to reproduce
Create a code block of type
sh
and add following snippet:Tested with![zola-13-sh-wrong-syntax-highlight](https://user-images.githubusercontent.com/13176832/117880540-84f79500-b2a8-11eb-92ff-c182d0108a2e.png)
default
andgruvbox-dark
theme, this results in the following: