sublime-strapdown-preview icon indicating copy to clipboard operation
sublime-strapdown-preview copied to clipboard

"Preview in Sublime Text" does not convert properly

Open leafy7382 opened this issue 11 years ago • 2 comments

A new file with content

  General test
  ============
   * test 1
   * test2

Converts to

  <!DOCTYPE html>
  <html>
  <head>
  <meta charset="utf-8">
  <title>Untitled document</title>
  </head>
  <xmp theme="united" style="display:none;">
  2013 Week 6-8

  General test
  ============
   * test 1
   * test2


  </xmp>
  <script       src="/Users/leafy/Library/Application%20Support/Sublime%20Text%203/Installed%20Packages/Strapdown%20Markdown%20Preview.sublime-package/strapdown/strapdown.js"></script>
  </html>

If previewing with browser, there is only blank

leafy7382 avatar Jun 02 '13 16:06 leafy7382

+1

I experienced this as well: just a blank page when viewed in the browser.

chmurph2 avatar Jun 05 '13 18:06 chmurph2

The cause appears to be this JavaScript error (it can't find stapdown.js):

screenshot_6_5_13_2_20_pm

Manually git-cloning this plugin to Sublime Text 3/Packages/ instead of using Package Control is a workaround.

chmurph2 avatar Jun 05 '13 18:06 chmurph2