Closed jamiejenkins closed 4 years ago
Okay, Atom 1.47 made the switch to Electron 5. Electron 5 disables webview by default, which is used for preview isolation in MPP. Atom 1.47 doesn't enable webview tags.
It is in theory possible to switch to BrowserView, but that entails a massive re-write, which I can't do at the moment. So hopefully upstream fixes this.
Looks like they merged the fix to enable webview. Hopefully that will fix it. Thanks for taking the time to look at it.
In the meantime, one workaround is to use the browser extension markdown-viewer
which renders markdown in the browser. You'll want to enable local files and autoreload for a similar experience.
Thanks, this looks nice and I can use it on Windows & Chrome but not on my macOS & Safari setup. I've rolled back to 1.46.0 on macOS. And I do still prefer to have the atom package as it would be on all platforms I use.
One can also revert atom to 1.46 as a temporary solution:
sudo snap revert atom
Same here - no longer working - blank preview
"Me too" comments aren't helpful considering the issue is already confirmed and pinpointed.
TL;DR: downgrade to Atom 1.46, 1.47.0 is currently broken.
1.48.0 should be fine once released unless upstream messes up. Can't say anything about 1.47.1 (and whether there will be such a release at all)
FYI, I'm running
Then I installed
And that "fixed" the "Preview Tab blank after updating" issue described here.
Surely that is not fixing the present plugin (markdown-it-preview uses the same default key keybinding) - you are just using a different plugin and different markdown parser. But it does suggest the problem is with some previewers in the current Atom update (the best HTML previewer https://github.com/harmsk/atom-html-preview also breaks in Atom 1.47 with the same blank screen, perhaps related).
Then I installed markdown-it-preview 0.2.5
That's as far as I can tell an abandoned project, which doesn't have most features associated with MPP. You could just as well use the built-in markdown-preview package, I think.
But it does suggest the problem is with some previewers in the current Atom update
For the love of all the 3 million Hindu gods, read the thread! The issue is discovered, pinpointed, explained in literally the second comment, and is fixed in the master branch of Atom repo. Just downgrade to 1.46, skip 1.47 and wait for the next release.
I'm seriously tempted to lock the thread at this point.
Can you elaborate on how to downgrade?Is to uninstall the new version and reinstall the old version?
Details will differ depending on your OS.
Encountered the same issue with atom 1.47.0 and markdown-preview-plus 3.11.5.
Kill the thread if you like -- but it does raise several issues as to how the beta-testing for atom is carried out when it can kill several widely used and important plugins (such as this one) and still, be released regardless (and then not rapidly at least reverted if not fixed). I am deeply appreciative of all the work carried out, but still .... I want atom to be the go to editor, and this doesn't help.
@aubreyz, I share your sentiment, but there is not much I can do. I'll go try to nudge upstream, but I'm not holding my breath.
It is fixed in v1.48.0 which is just released!
All preview are blank after updating to Atom 1.47.0 (or beta 1.48.0).
I've also raised an issue on atom https://github.com/atom/atom/issues/20754