html2purescript icon indicating copy to clipboard operation
html2purescript copied to clipboard

export variables

Open BebeSparkelSparkel opened this issue 4 years ago • 1 comments

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 ] ]
]

BebeSparkelSparkel avatar Jul 20 '19 20:07 BebeSparkelSparkel