diff --git a/markitzero_test.go b/markitzero_test.go index ccef139..0a00e29 100644 --- a/markitzero_test.go +++ b/markitzero_test.go @@ -35,6 +35,12 @@ func TestLinebreak3(t *testing.T) { doonezerotest(t, input, output) } +func TestCodeStyles(t *testing.T) { + input := "hello\n\n```go\nfunc(s string)\n```\n\ndoes it go?" + output := "hello
func(s string)

does it go?" + doonezerotest(t, input, output) +} + func TestSimplelink(t *testing.T) { input := "This is a [link](https://example.com)." output := `This is a link.`