As seen in the below image, when typing code in the web editor, hitting Enter or Shift+Enter would generate a <br> tag in the HTML source.
Applying Pygments C++ code block seems to be unable to replace <br> tags with new line.
Using HTML editor to type the code in would be inconvenient; for example because of < and > characters, that must be < and `> respectively.
As seen in the below image, when typing code in the web editor, hitting
Enter
orShift+Enter
would generate a<br>
tag in the HTML source. Applying Pygments C++ code block seems to be unable to replace<br>
tags with new line.Using HTML editor to type the code in would be inconvenient; for example because of
<
and>
characters, that must be<
and `> respectively.