Closed nico-bock closed 6 years ago
What ist the common way to set a line breake <br> and a <hr>. I tried
<br>
<hr>.
**What's new?** / --- * The release notes now use HTML to look friendlier * A lot of small improvements on Courier2 /There should be no visible changes for Courier 1 users.
in this code.
package main import ( "fmt" "io/ioutil" "github.com/a8m/mark" ) func main() { markdown_text, err := ioutil.ReadFile("testdata/test3.md") html := mark.Render(string(markdown_text)) fmt.Print(html, err) }
But it dont set an <br> after two spaces or an <hr> for ---. I got this
<hr>
---
</p>strong>Test This</strong> </p> --- <pre><code> </code></pre> <ul> <li>Bla 1</li> <li>Bla 2 Did it work?</li> </ul><nil>
Headline --- --- hello world
Note that there are two spaces after the word hello
hello
Closing this issue, feel free to open if you have more comments.
What ist the common way to set a line breake
<br>
and a<hr>.
I triedin this code.
But it dont set an
<br>
after two spaces or an<hr>
for---
. I got this