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
Given a "nodejs console style" javascript example in a content markdown file I expect the site to render when I run zola build or zola serve.
Alternative better behaviors:
raise an error indicating it is unable to highlight the code block
render the code block with no highlighting applied
There should be no content input that can cause Zola to hang.
Current Behavior
The site builder hangs
Steps to reproduce
Given this code block embedded in a markdown file:
\```javascript
> function capitalize(text) { ... }
> let shoutingMatch = chatMessages.map(capitalize);
> console.log(shoutingMatch);
[
...
]
\```
(backticks escaped to not interfere with the github issue rendering)
Running any command that causes zola to render the site (build or serve, check seems unaffected) causes Zola to hang until interrupted with ctrl-c.
Workarounds:
Removing the leading > characters from each line of code, or removing the javascript syntax specifier from the markdown fence allows the document to be compiled again. If there is only a single line of code with a leading > will Zola compile without hanging even with the javascript fence.
The text was updated successfully, but these errors were encountered:
Bug Report
Environment
OS: Linux x86_64
Zola version: 0.12.2
Expected Behavior
Given a "nodejs console style" javascript example in a content markdown file I expect the site to render when I run
zola build
orzola serve
.Alternative better behaviors:
There should be no content input that can cause Zola to hang.
Current Behavior
The site builder hangs
Steps to reproduce
Given this code block embedded in a markdown file:
(backticks escaped to not interfere with the github issue rendering)
Running any command that causes zola to render the site (build or serve, check seems unaffected) causes Zola to hang until interrupted with
ctrl-c
.Workarounds:
Removing the leading
>
characters from each line of code, or removing thejavascript
syntax specifier from the markdown fence allows the document to be compiled again. If there is only a single line of code with a leading>
will Zola compile without hanging even with thejavascript
fence.The text was updated successfully, but these errors were encountered: