DEV Community

Discussion on: The basic Elm example that I wish I'd had

Collapse
 
joshcheek profile image
Josh Cheek

You should be to syntax highlight the source code like this:

source code that gets syntax highlighted

update msg model =
  case model of
    ViewRoom doorState alarmState ->
Collapse
 
nimmo profile image
Nimmo

Ah, I didn't realise this at all. Thanks for the tip!