Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to preview the markdown. #98

Open
Ajinkz opened this issue Dec 10, 2019 · 6 comments
Open

Unable to preview the markdown. #98

Ajinkz opened this issue Dec 10, 2019 · 6 comments

Comments

@Ajinkz
Copy link

Ajinkz commented Dec 10, 2019

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

@math2001
Copy link
Owner

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
Copy link

same problem, no errors in the console

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

@partnerwerk
Copy link

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
Copy link

Pwuts commented Mar 11, 2020

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

@Sigmun
Copy link

Sigmun commented Nov 18, 2020

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants