baynezy/Html2Markdown

Correct behaviour for pre

Closed this issue · 0 comments

Report issue

I expected pre tags to be formatted as markdown code blocks with the triple backticks, but they aren't is the correct?

It's what for example GitHubs editor formats it as

Expected behavior

<pre>Some multi
line text</pre>

to be formatted as

Some multi
line text 

Actual Behaviour

Is just formatted with correct spaces and linebreaks