📃 Markdown renderer.
8 Commits
.gitignore | ||
benchmarks_test.go | ||
go.mod | ||
go.sum | ||
README.md | ||
Render_test.go | ||
Render.go |
markdown
Markdown renderer.
Features
- Links
- Lists
- Headers
- Paragraphs
- Quotes
Installation
go get git.akyoto.dev/go/markdown
Usage
html := markdown.Render("# Header")
Tests
PASS: TestEmpty
PASS: TestParagraphs
PASS: TestHeader
PASS: TestLink
PASS: TestQuote
PASS: TestCombined
PASS: TestSecurity
coverage: 100.0% of statements
Benchmarks
BenchmarkSmall-12 2411152 489.1 ns/op 248 B/op 5 allocs/op
License
Please see the license documentation.
Copyright
© 2024 Eduard Urbach