📃 Markdown renderer. 2 Commits
2024-03-31 23:08:01 +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 headers and paragraphs 2024-03-31 23:08:01 +02:00
Render_test.go Implemented headers and paragraphs 2024-03-31 23:08:01 +02:00
Render.go Implemented headers and paragraphs 2024-03-31 23:08:01 +02:00

markdown

Markdown renderer.

Features

  • Headers
  • Paragraphs

Installation

go get git.akyoto.dev/go/markdown

Usage

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

Tests

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

Benchmarks

BenchmarkSmall-12        2187232               544.9 ns/op           296 B/op          9 allocs/op

License

Please see the license documentation.

© 2024 Eduard Urbach