package markdown import "testing" func TestExternal(t *testing.T) { t.Run("link", func(t *testing.T) { t.Run("simple", test("[content](href)", `
`)) t.Run("combo", test("Hey, [link](href)", `Hey, link
`)) }) t.Run("image", func(t *testing.T) { t.Run("simple", test("", `Avant la source
Hors de la source
`)) }) }