Martin Kavalar / Jun 13 2018

Julia + HTML

It's not (yet) possible to return HTML from Julia cells directly. What you can do however, is have a Julia Cell return a value that you reference from an (in-browser) ClojureScript cell that then outputs HTML like so.

"Hello from Julia!"

Reference that result by copy and pasting it into the ClojureScript cell that returns a hiccup element. Styling is possible through tachyons.

Please not that this is currently experimental and subject to change.

{:kind "hiccup" :value [:h2.bg-green.br2.pa nil]}

Notice how these references propagate reactively when you run the article.