Skip to content

Commit 4658a1d

Browse files
committed
Enhance README
1 parent c3f58e1 commit 4658a1d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,10 @@ Typically you'd want to customize the rendering of `:html-inline` and `:html` si
113113
:html-inline (comp hiccup/raw md.transform/->text)
114114
:html-block (comp hiccup/raw md.transform/->text)))
115115

116-
(md/->hiccup renderers "<img src=\"...\"/>")
117-
118116
(str (hiccup/html (md/->hiccup renderers "<img src=\"...\"/>")))
117+
118+
;; =>
119+
"<div><img src=\"...\"/></div>"
119120
```
120121

121122
We've built hiccup transformation in for convenience, but the same approach can be used to target [more formats](https://nextjournal.github.io/markdown/notebooks/pandoc).

0 commit comments

Comments
 (0)