Initial commit

This commit is contained in:
Eduard Urbach 2024-03-31 21:01:47 +02:00
commit a4e5243ab3
No known key found for this signature in database
GPG key ID: C874F672B1AF20C0
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>")
}