📃 Markdown renderer. 8 Commits
2024-04-01 20:59:32 +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 tables 2024-04-01 20:59:32 +02:00
Render_test.go Implemented tables 2024-04-01 20:59:32 +02:00
Render.go Implemented tables 2024-04-01 20:59:32 +02:00

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.

© 2024 Eduard Urbach