 
       jumpTo = new JumpTo()
       expect(jumpTo.previousHeading()).toEqual(row: 0, column: 0)
+
+    it "skip code blocks in markdown", ->
+      editor.setText(text)
+      editor.setCursorBufferPosition([8, 6])
+
+      jumpTo = new JumpTo()
+      expect(jumpTo.previousHeading()).toEqual(row: 0, column: 0)
+
 
   describe ".nextHeading", ->
     text = """


    it "finds previous subtitle", ->
      editor.setText(text)
      editor.setCursorBufferPosition([6, 6])

      jumpTo = new JumpTo()
      expect(jumpTo.previousHeading()).toEqual(row: 4, column: 0)

    it "finds previous title", ->
      editor.setText(text)

    ## Subtitle

    content content

    ```
    ### Code title
    ```
    """

    it "finds nothing if no headings", ->
