Implemented strikethrough text
This commit is contained in:
@ -5,7 +5,7 @@ A markdown renderer that supports only a subset of the CommonMark spec in order
|
||||
## Features
|
||||
|
||||
- Code blocks
|
||||
- Formatting (bold, italic, monospace)
|
||||
- Formatting (bold, italic, monospace and strikethrough)
|
||||
- Links
|
||||
- Lists
|
||||
- Headers
|
||||
@ -34,6 +34,7 @@ PASS: TestParagraph
|
||||
PASS: TestHeader
|
||||
PASS: TestItalic
|
||||
PASS: TestBold
|
||||
PASS: TestStrike
|
||||
PASS: TestLink
|
||||
PASS: TestList
|
||||
PASS: TestTables
|
||||
@ -48,9 +49,9 @@ coverage: 100.0% of statements
|
||||
## Benchmarks
|
||||
|
||||
```
|
||||
BenchmarkSmall-12 5986922 187.5 ns/op 32 B/op 1 allocs/op
|
||||
BenchmarkMedium-12 1000000 1077 ns/op 512 B/op 1 allocs/op
|
||||
BenchmarkLarge-12 255178 4055 ns/op 2560 B/op 2 allocs/op
|
||||
BenchmarkSmall-12 6202569 190.9 ns/op 32 B/op 1 allocs/op
|
||||
BenchmarkMedium-12 1000000 1080 ns/op 512 B/op 1 allocs/op
|
||||
BenchmarkLarge-12 271048 4115 ns/op 2560 B/op 2 allocs/op
|
||||
```
|
||||
|
||||
## License
|
||||
|
Reference in New Issue
Block a user