Implemented code blocks

This commit is contained in:
Eduard Urbach 2024-04-01 21:27:10 +02:00
parent 7af85bb1dd
commit 67f60d4364
Signed by: akyoto
GPG key ID: 49226B848C78F6C8
3 changed files with 50 additions and 2 deletions

View file

@ -4,11 +4,13 @@ Markdown renderer.
## Features
- Code
- Links
- Lists
- Headers
- Paragraphs
- Quotes
- Tables
## Installation
@ -26,9 +28,12 @@ html := markdown.Render("# Header")
```
PASS: TestEmpty
PASS: TestParagraphs
PASS: TestParagraph
PASS: TestHeader
PASS: TestLink
PASS: TestList
PASS: TestTables
PASS: TestCode
PASS: TestQuote
PASS: TestCombined
PASS: TestSecurity
@ -38,7 +43,7 @@ coverage: 100.0% of statements
## Benchmarks
```
BenchmarkSmall-12 2411152 489.1 ns/op 248 B/op 5 allocs/op
BenchmarkSmall-12 2421213 494.2 ns/op 248 B/op 5 allocs/op
```
## License