-
Notifications
You must be signed in to change notification settings - Fork 358
Preview shows for some .md files but not others #531
Comments
Thanks for the report - I gave it a try with the file that you said doesn't work and preview worked ok for me on macOS 10.12.6 with Atom 1.24. From the checkboxes you added to the |
@yuqli If its any help, I have noticed if you have more than one markdown file opened, it will only preview the markdown file in the first tab. You need to drag the tab for the other markdown file to be the first and then run 'Markdown Preview: Toggle'. |
Atom's 'Pending Pane Elements' feature could be involved. If the .md file is not totally "open" (meaning, it's still showing with an italicized title in the tab bar), Markdown Preview will not generate the preview pane when selecting 'Toggle Preview'. I couldn't find any errors or warnings that get spit out when attempting this, I'm afraid. Still, perhaps this can explain the behavior? (Atom 1.24.1 on OS X 10.13.3, markdown-preview 0.159.20) |
Hi guys, thanks for the reply! Apologize for getting back late... My bad... Here is what I have done:
I attach some figures below in case useful... This is when nothing happened after clicking preview. This is the file that does generate preview... |
I finally find out why this doesn't work. If the file isn't being displayed as a text file, it won't even open the markdown display. |
Prerequisites
[] Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
[] Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
[] Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
[] Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
[*] Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
I have two .md files. When clicking "Packages - markdown preview plus - toggle preview", one of them generates a preview on another panel, while the other does not. I am trying to get both of them generate previews.
Versions
apm 1.18.12
npm 3.10.10
node 6.9.5 x64
atom 1.24.0
python 2.7.13
git 2.11.0
MacOS Sierra 10.12.6
Additional Information
The file that works:
The file that does not work:
The text was updated successfully, but these errors were encountered: