added tests for image renderer

This commit is contained in:
Daniel Fichtinger 2024-12-30 23:31:50 -05:00
parent 0c1c842bcd
commit ce706e4ff9
3 changed files with 4 additions and 1 deletions

View file

@ -5,4 +5,4 @@ fi
go run cmd/zona/main.go test go run cmd/zona/main.go test
bat foobar/posts/in.html bat foobar/img.html

BIN
test/assets/pic.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 KiB

3
test/img.md Normal file
View file

@ -0,0 +1,3 @@
# An image is in this page
![my alternate text](assets/pic.png "my title")