math2001 / MarkdownLivePreview

A Sublime Text 3 plugin to preview your markdown as you type
https://math2001.github.io/MarkdownLivePreview
MIT License
304 stars 37 forks source link

Unable to preview the markdown. #98

Open Ajinkz opened 4 years ago

Ajinkz commented 4 years ago

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

math2001 commented 4 years ago

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)

rmawatson commented 4 years ago

same problem, no errors in the console

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

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.

Pwuts commented 4 years ago

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

Sigmun commented 3 years ago

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
jsaintvanne commented 3 years ago

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...