Implemented headers and paragraphs
This commit is contained in:
14
README.md
14
README.md
@ -4,7 +4,8 @@ Markdown renderer.
|
||||
|
||||
## Features
|
||||
|
||||
|
||||
- Headers
|
||||
- Paragraphs
|
||||
|
||||
## Installation
|
||||
|
||||
@ -15,16 +16,25 @@ go get git.akyoto.dev/go/markdown
|
||||
## Usage
|
||||
|
||||
```go
|
||||
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
|
||||
|
||||
|
Reference in New Issue
Block a user