Add preliminary Image support
This commit is contained in:
parent
f345442407
commit
0a1fda4a08
|
@ -53,6 +53,14 @@
|
||||||
"h" (number->string (inexact->exact level))))))
|
"h" (number->string (inexact->exact level))))))
|
||||||
`(,h-tag ,@(convert-many (vector->list
|
`(,h-tag ,@(convert-many (vector->list
|
||||||
(list-ref (contents-list) 2))))))
|
(list-ref (contents-list) 2))))))
|
||||||
|
((equal? type "Image")
|
||||||
|
`(img (@ (src
|
||||||
|
,(join-strings-into-one-string
|
||||||
|
(vector->list (vector-ref (contents) 2))))
|
||||||
|
#;
|
||||||
|
(alt
|
||||||
|
,(join-strings-into-one-string
|
||||||
|
(vector->list (vector-ref (contents) 1)))))))
|
||||||
((equal? type "Link")
|
((equal? type "Link")
|
||||||
`(a (@ (href ,(join-adjacent-strings
|
`(a (@ (href ,(join-adjacent-strings
|
||||||
(vector->list (vector-ref (contents) 2)))))
|
(vector->list (vector-ref (contents) 2)))))
|
||||||
|
|
Loading…
Reference in New Issue