Implemented code blocks
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user