Open smalers opened 3 years ago
Angle brackets within code blocks in particular get escaped. Therefore <
becomes $lt and >
becomes > when rendering markdown with ShowdownJS. The solution for this is to wrap code blocks with a <pre></pre>
tag otherwise code segments may not be generated as expected.
See this issue below: https://github.com/showdownjs/showdown/issues/400
Helpful link to display behavior: https://johnmacfarlane.net/babelmark2/?text=%60%60%60%0A%3Chtml%3E%3C%2Fhtml%3E%0A%60%60%60
A demonstration of this behavior has been added to the cleaned up showdown demo's in app1.
The Poudre Basin Information website has been updated to have a License file. However, the Markdown containing
<
and>
characters at the end is not being converted properly. Maybe there are other characters that it is also not handling.Need to figure this out because anything in a tick section should pass through literally.
Need to make Josh aware of the solution so that he can incorporate into the InfoMapper.