JuliaGizmos / Interact.jl

Interactive widgets to play with your Julia code
Other
522 stars 77 forks source link

hbox breaks latex strings in Interact #378

Open janrpeters opened 3 years ago

janrpeters commented 3 years ago

I have a simple test case:

md"Works perfectly:" |> display
checkboxes(["a", "b", "c \$\\sqrt{a}\$"]) |> display

md"Works perfectly:" |> display
vbox(pad(1em, "Hi!"),pad(1em, checkboxes(["a", "b", "c \$a=\\sqrt{b}\$"]))) |> display

md"Works perfectly:" |> display
hbox(pad(1em, "Hi!"),pad(1em, checkboxes(["a", "b", "c \$a=\\sqrt{b}\$"]))) |> display

hbox breaks latex strings in Interact! Can I help debugging this? Please tell me how!