package markdown import ( "strings" "testing" ) func TestConvertMarkdownToHTML(t *testing.T) { input := []byte( `## some headline followed by some paragraph with [a link](https://example.local) and some list: - first - second - nested on second level - nested on third level - ~~strikethrough~~ - yet another second level item, **but** with a [a link](https://example.local) - end ### h3 headline/header embedded HTML is allowed `, ) expected := []byte( `
followed by some paragraph with a link and some list: