Initial commit

This commit is contained in:
2024-03-31 21:01:47 +02:00
commit a4e5243ab3
6 changed files with 68 additions and 0 deletions

13
Render_test.go Normal 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>")
}