reveal

chromalchemy 2022-01-31T16:51:29.133739Z

Complements on the Vega stuff. Looks really cool!

chromalchemy 2022-01-31T16:52:18.689979Z

Can Reveal render hiccup html? Even if very basic.. What is the best way to approach this?

vlaaad 2022-01-31T22:08:33.926979Z

@chromalchemy there is nothing specific for hiccup, but you can use cljfx's web view to render hiccup:

(require '[hiccup.core :as h]
         '[cljfx.ext.web-view :as ext.web-view])

#reveal/inspect {:fx/type ext.web-view/with-engine-props
                 :props {:content (h/html [:ul
                                           (for [x (range 1 4)]
                                             [:li x])])}
                 :desc {:fx/type :web-view}}

vlaaad 2022-01-31T22:09:28.598539Z

note that JavaFX's web view is a fork of webkit, so YMMV