Search code examples
haskellyesodhamlet

SVG tags in hamlet shakespearean (yesod/haskell) templates?


Is there a way to include tags in hamlet? If not, what are the workarounds/alternatives?


Solution

  • You can just include it like any other tags. Don't put spaces before and after equals sign.

    <svg height="50" width="500">