Implemented text formatting

This commit is contained in:
2024-04-02 19:48:35 +02:00
parent a06f513d65
commit 52c995659d
3 changed files with 57 additions and 14 deletions

View File

@ -31,6 +31,8 @@ html := markdown.Render("# Header")
PASS: TestEmpty
PASS: TestParagraph
PASS: TestHeader
PASS: TestItalic
PASS: TestBold
PASS: TestLink
PASS: TestList
PASS: TestTables
@ -45,9 +47,9 @@ coverage: 100.0% of statements
## Benchmarks
```
BenchmarkSmall-12 8846642 135.5 ns/op 32 B/op 1 allocs/op
BenchmarkMedium-12 711596 1465 ns/op 512 B/op 1 allocs/op
BenchmarkLarge-12 279253 3874 ns/op 2560 B/op 2 allocs/op
BenchmarkSmall-12 8109500 145.1 ns/op 32 B/op 1 allocs/op
BenchmarkMedium-12 556713 1906 ns/op 512 B/op 1 allocs/op
BenchmarkLarge-12 218116 4588 ns/op 2560 B/op 2 allocs/op
```
## License