JuliaPluto / HypertextLiteral.jl

Julia library for the string interpolation of HTML and SVG
https://juliapluto.github.io/HypertextLiteral.jl/stable/
ISC License
63 stars 10 forks source link

Easier to use dashes (-) in styles #34

Open aplavin opened 1 year ago

aplavin commented 1 year ago

When interpolating as <tag style=$nt>, the only way to reproduce style keys with dashes I found is to use var"": nt = (var"-webkit-appearance"="slider-vertical",). Is it the recommended way, or there's something more straightforward?

clarkevans commented 11 months ago

@aplavin : do you have a minimal example? I've not been using HypertextLiteral lately (but I soon will, in the coming weeks).