📃 Markdown renderer. 4 Commits
2024-04-01 12:43:36 +02:00
.gitignore Initial commit 2024-03-31 21:01:47 +02:00
benchmarks_test.go Implemented headers and paragraphs 2024-03-31 23:08:01 +02:00
go.mod Initial commit 2024-03-31 21:01:47 +02:00
go.sum Initial commit 2024-03-31 21:01:47 +02:00
README.md Implemented links 2024-04-01 11:54:14 +02:00
Render_test.go Added more tests 2024-04-01 12:43:36 +02:00
Render.go Added more tests 2024-04-01 12:43:36 +02:00

markdown

Markdown renderer.

Features

  • Links
  • Headers
  • Paragraphs

Installation

go get git.akyoto.dev/go/markdown

Usage

html := markdown.Render("# Header")

Tests

PASS: TestEmpty
PASS: TestParagraphs
PASS: TestHeader
PASS: TestLink
PASS: TestCombined
PASS: TestSecurity
coverage: 100.0% of statements

Benchmarks

BenchmarkSmall-12        2019103               591.4 ns/op           296 B/op          9 allocs/op

License

Please see the license documentation.

© 2024 Eduard Urbach