-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot do LaTeX or markdown in description of @NTBond
#13
Comments
So while I thought I did support arbitrary descriptions, that is not working due to some implementation detail. # ╔═╡ eca4593d-e17d-4f68-ba58-3e052b95c895
macro NTBondHack(desc, block)
desc = esc(desc)
:(@NTBond($Bypass($desc), $block))
end
# ╔═╡ 83742bf5-900d-4fc1-9eae-e946908d64e4
struct Bypass
content
end
# ╔═╡ b35b354f-d648-45c0-89df-b16e497af964
function Base.show(io::IO, ::MIME"text/javascript", o::Bypass)
write(io, "`")
Base.show(io, MIME"text/html"(), o.content)
write(io, "`")
end
# ╔═╡ e0f356ef-f0ba-4b6e-a939-13d62cf2b498
@bind bb @NTBondHack md"$f(x) = x$" begin
b = (md"*Bold* field", Slider(1:10))
end
# ╔═╡ d5290c4e-f2de-4511-bc6a-1064980e9804
bb I don't understand exactly why it still doesn't work with |
Amazing! This works! |
I tried doing something like
or
either I get
or
How can I get a fancy (non-basic string) in the title of my bond table?
The text was updated successfully, but these errors were encountered: