You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to suggest supporting plain Html inside the hamlet quasiquoters if possible, because
it makes copy-pasting Html snippets so much easier, e.g. from Bootstrap oder Bulma.
autocomplete and autoformatting works for plain Html inside every IDE, while Hamlet syntax support in IDEs is basically non-existent.
What do you think? If that's already supported, i would be happy to document it further as i wasn't able to find it.
Currently, when mentioning closing tags inside Hamlet, i get
src/Handler/Home.hs:26:9: error: [GHC-87897]
• Exception when trying to run compile-time code:
"[Hamlet input]" (line 7, column 1):
A tag name may not contain a slash. Perhaps you have a closing tag in your HTML.
CallStack (from HasCallStack):
error, called at ./Text/Hamlet.hs:427:21 in shakespeare-2.1.1-2732f79f07a4db25d9fbeae83fe9950d9ab77dceb2046469e14a16b6716e6dea:Text.Hamlet
Code: (xhamletFile "templates/page-test.html")
• In the untyped splice: $(xhamletFile "templates/page-test.html")|
26 |$(xhamletFile "templates/page-test.html")
The text was updated successfully, but these errors were encountered:
I would like to suggest supporting plain Html inside the hamlet quasiquoters if possible, because
What do you think? If that's already supported, i would be happy to document it further as i wasn't able to find it.
Currently, when mentioning closing tags inside Hamlet, i get
The text was updated successfully, but these errors were encountered: