Implemented headers and paragraphs

This commit is contained in:
2024-03-31 23:08:01 +02:00
parent a4e5243ab3
commit 93d5949eff
4 changed files with 115 additions and 6 deletions

13
benchmarks_test.go Normal file
View File

@ -0,0 +1,13 @@
package markdown_test
import (
"testing"
"git.akyoto.dev/go/markdown"
)
func BenchmarkSmall(b *testing.B) {
for range b.N {
markdown.Render("# Header\nText.\nText.\n# Header\nText.\nText.")
}
}