   $(el).bind('keyup', (e) ->
     previewMd(pos, editor)
 
-    $('.renderpad a').each (idx, el) -> 
+    $('.renderpad a').each (idx, el) ->
       # In the link lesson, I don't want people to deal with typing http://
       href = $(el).attr('href').match(/www\..+/)
       href = "http://#{href}"

      if environment == "development"
        console.log "Did it for #{pos}"

      showNextSection(el)
  )

previewMd = (pos, editor) ->

  # We need the second to last path segment because Jekyll makes pretty URLs by
  # creating directories named after pages with a single index.html file in each
  lessonNumber = pathSegments[pathSegments.length - 2]

  $(".toBeRevealed").each (idx, el) -> $(this).data("step", idx)

  $(".scratchpad").each (idx, el) ->
    setupAce(lessonNumber, idx, el)

