How do I correctly apply a span
in the middle of another tag?
#215
Answered
by
mhanberg
sylvesterroos
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
mhanberg
Feb 8, 2024
Replies: 1 comment 7 replies
-
It should just work I think, I have an example here: https://github.com/elixir-tools/elixir-tools.dev/blob/main/lib/elixir_tools/pages/home_page.ex You can see it live at https://www.elixir-tools.dev |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
so in temple it just isn't possible (currently) for it to emit the code that you're looking for
a work around in this case is something like
in temple syntax this is
the main problem here I think is intuitively you want to interpolate the original span into the string, but that isn't supported currently.