Interpolation in @html_str #1109
Answered
by
fonsp
lassepe
asked this question in
Questions about using Pluto
-
Is there a way to interpolate a variable in to a slide_width = 800
html"""
<style>
main {
max-width: $(slide_width)px;
}
""" However, the |
Beta Was this translation helpful? Give feedback.
Answered by
fonsp
May 7, 2021
Replies: 1 comment
-
We have https://github.com/clarkevans/HypertextLiteral.jl for this! |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
fonsp
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We have https://github.com/clarkevans/HypertextLiteral.jl for this!