html2purescript
html2purescript copied to clipboard
export variables
I'm sure that you have considered this but I think it would be nice to allow for a syntax that allows for variables.
<div class=#{purescriptVariable}>
<p>#{anotherPurscriptVariable}</p>
</div>
[ HH.div [ HP.class_ $ H.ClassName purescriptVariable ]
[ HH.p_ [ HH.text anotherPurescriptVariable ] ]
]
Good point! I suppose I only went as far as I needed to for my particular application at the time :) Feel free to fork / PR.