Zalgorithm

Forcing a linebreak to appear in HTML thats rendered from Hugo markdown

To force a linebreak to appear in the HTML that is build by Hugo (Goldmark) from a markdown file, add two spaces and a newline character after the line. That means, add two spaces, then hit the “Enter” key.

I want a linebreak after this line when it's rendered as HTML  
This line should also have a linebreak  
That should have worked.

Hugo (Goldmark) doesn’t seem to like <br> tags very much.

Tags: