Implemented image links

This commit is contained in:
Eduard Urbach 2024-04-03 21:13:59 +02:00
parent 04e564fdf8
commit 7c8de4fe4b
Signed by: akyoto
GPG key ID: 49226B848C78F6C8
3 changed files with 62 additions and 31 deletions

View file

@ -9,6 +9,7 @@ A markdown renderer that supports only a subset of the CommonMark spec in order
- Italic
- Links
- Lists
- Images
- Headers
- Paragraphs
- Quotes
@ -38,6 +39,7 @@ PASS: TestItalic
PASS: TestBold
PASS: TestStrike
PASS: TestLink
PASS: TestImage
PASS: TestList
PASS: TestTables
PASS: TestCode
@ -51,9 +53,9 @@ coverage: 100.0% of statements
## Benchmarks
```
BenchmarkSmall-12 5836533 205.3 ns/op 32 B/op 1 allocs/op
BenchmarkMedium-12 967740 1103 ns/op 512 B/op 1 allocs/op
BenchmarkLarge-12 277908 4099 ns/op 2560 B/op 2 allocs/op
BenchmarkSmall-12 5884641 201.5 ns/op 32 B/op 1 allocs/op
BenchmarkMedium-12 938371 1124 ns/op 512 B/op 1 allocs/op
BenchmarkLarge-12 277065 4115 ns/op 2560 B/op 2 allocs/op
```
## License