MarkdownLivePreview icon indicating copy to clipboard operation
MarkdownLivePreview copied to clipboard

Unable to preview the markdown.

Open Ajinkz opened this issue 5 years ago • 6 comments

No option to MarkdownLivePreview: Open Preview were found and even pressing alt+m didn't work

Ajinkz avatar Dec 10 '19 12:12 Ajinkz

Alright, could you do this for me:

  1. run this in the console: view.settings().get('syntax') and paste the output here. How MarkdownLivePreview currently checks if your file is in markdown (and hence enables itself) is by looking for the word markdown in your syntax file name.
  2. make sure you are able to find the Open Settings File option in the command palette still?
  3. look for some errors in the console (if you're not familiar with python, errors start with keyword Traceback). If you're not too sure, paste the whole thing here.
  4. paste the list of plugins you have installed (find Preferences: Package Control Settings User, it's the list under the key installed_packages)

Also, alt+m won't work anymore. I removed it because it was conflicting with people's keybinding. Instead, you have to add it yourself in your own keybinding file (there's an example on the README.md)

math2001 avatar Dec 10 '19 20:12 math2001

same problem, no errors in the console

git: tracking working dir D:\repository\notes
>>> view.settings().get('syntax')
'Packages/Markdown/Markdown.sublime-syntax'

rmawatson avatar Jan 29 '20 19:01 rmawatson

When I have a YAML block in the beginning of the markdown file, the complete preview is empty. When deleting the yaml specific line ”---” before and after the block, everything gets rendered correctly.

partnerwerk avatar Feb 11 '20 10:02 partnerwerk

Same issue here as @partnerwerk. Quite annoying as many static site generators (Hugo, Jekyll) use this structure.

Pwuts avatar Mar 11 '20 21:03 Pwuts

In fact, using ST3.2.2 (build 3211) and MarkdownLivePreview 3.0.1, I still have no output with this simple example of code:

---
title: Test of YAML header
---

My document here

Sigmun avatar Nov 18 '20 09:11 Sigmun

In fact, using ST3.2.2 (build 3211) and MarkdownLivePreview 3.0.1, I still have no output with this simple example of code:

---
title: Test of YAML header
---

My document here

When I move the

---
title: Test of YAML header
---

without back to line I can see my markdown on the preview but i have also the title and things write...

jsaintvanne avatar Apr 07 '21 09:04 jsaintvanne