   classes: decorToClasses(info.info.decor).concat 'idris'
   word: word
 
+# Build highlighting information that we can then pass to one
+# of our serializers.
 highlight = (code, highlightingInfo) ->
   highlighted = highlightingInfo
     .map ([start, length, info]) ->

        "<span class=\"#{classes.join(' ')}\">#{word}</span>"
    .join ''

highlightToHtml = (highlights) ->
  spans = highlights
    .map ({classes, word}) ->

  higlightedWords.filter (higlightedWord) ->
    higlightedWord.word != ''

# Applies the highlighting and returns the result as an html-string.
highlightToString = (highlights) ->
  highlights
    .map ({classes, word}) ->
