 # YIYI : 这里我不仅仅 map 了 level 0
 md.renderer.rules.paragraph_open = (tokens, idx)->
   lineNo = null
-  if tokens[idx].lines # /*&& tokens[idx].level == 0*/)
+  if tokens[idx].lines and !DISABLE_SYNC_LINE # /*&& tokens[idx].level == 0*/)
     lineNo = tokens[idx].lines[0]
     return '<p class="sync-line" data-line="' + lineNo + '">'
   return '<p>'

      highlightedBlock = $(html)
      highlightedBlock.removeClass('editor').addClass('lang-' + lang)

      if lineNo != null
        highlightedBlock.attr({'data-line': lineNo})
        highlightedBlock.addClass('sync-line')



md = new remarkable('full', defaults)

DISABLE_SYNC_LINE = false

atom.config.observe 'markdown-preview-enhanced.breakOnSingleNewline',
  (breakOnSingleNewline)->
    md.set({breaks: breakOnSingleNewline})
