sc0ttj / mdsh

A simple static site generator, using Markdown and Bash
https://sc0ttj.github.io/mdsh/
10 stars 0 forks source link

HTML not rendered in code blocks #38

Closed sc0ttj closed 5 years ago

sc0ttj commented 5 years ago

When creating pages, we need to escape any HTML inside code blocks (convert to HTML entities).. else it doesn't show up in the code blocks (just empty spaces).. plus it messes up the HTML.

sc0ttj commented 5 years ago

not really a bug, this is expected markdown to html behaviour..

The solution is to use &lt; instead of < and &gt; instead of > in any HTML you want visible to read on your page .