Initial commit

This commit is contained in:
Eduard Urbach 2024-03-31 21:01:47 +02:00
commit 0ec909aec6
Signed by: akyoto
GPG key ID: 49226B848C78F6C8
6 changed files with 68 additions and 0 deletions

13
Render_test.go Normal file
View file

@ -0,0 +1,13 @@
package markdown_test
import (
"testing"
"git.akyoto.dev/go/assert"
"git.akyoto.dev/go/markdown"
)
func TestRender(t *testing.T) {
html := markdown.Render("# Hello")
assert.Equal(t, html, "<h1>Hello</h1>")
}