Implemented code blocks

This commit is contained in:
2024-04-01 21:27:10 +02:00
parent e19a41c792
commit f75ea823a9
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