shd101wyy / vscode-markdown-preview-enhanced

One of the "BEST" markdown preview extensions for Visual Studio Code
https://shd101wyy.github.io/markdown-preview-enhanced
Other
1.48k stars 173 forks source link

Missing slides in preview pane #982

Open pduersteler opened 3 years ago

pduersteler commented 3 years ago

I just wanted to use this package again after I used it a few years ago for a simple presentation and I really liked to use it!

However, I'm facing one major problem which renders the package unusable for me, unfortunately. Maybe it's user error, or maybe there is a bug, hence I'm opening an Issue here.

I set up a file presentation.md containing the following content:

---
presentation:
  theme: blood.css
---

<!-- slide -->

# Hello

This will render the "Hello" title, and after around 1 second, the content disappears, and only an empty black background is displayed. Then, when extending the file to this:

---
presentation:
  theme: blood.css
---

<!-- slide -->

# Hello

<!-- slide -->

# Second slide

The preview shortly displays the second slide content, and then behaves like it did previously: Only a black background with no content shown. The controls appear now and I can switch between the first slide (content shown) and the second slide (content not shown).

The behavior repeats itself; When adding more content to a slide, it is visible for a second, and then disappears, and is not even accessible via the slide navigation.

atom: 1.54.0 markdown-preview-enhanced: 0.18.8 No other markdown package installed.

shd101wyy commented 3 years ago

Hmmm I haven't been using atom for a long time. I tested it on the vscode and it worked fine. Could you please give the vscode a shot instead if you like? Thank you :)

walterrowe commented 3 years ago

Hmmm I haven't been using atom for a long time. I tested it on the vscode and it worked fine. Could you please give the vscode a shot instead if you like? Thank you :)

@shd101wyy .. are you still maintaining this project?

Sdaniele commented 3 years ago

See https://github.com/shd101wyy/vscode-markdown-preview-enhanced/issues/1063

It is broken for quite a while :-(

walterrowe commented 3 years ago

This project really needs updating for atom. If you are maintaining this for vscode you should also maintain it for atom.

shd101wyy commented 3 years ago

Weird. I test it on atom 1.55.0 and it’s working fine for me. I will investigate.

Walter Rowe @.***>于2021年3月24日 周三上午9:00写道:

This project really needs updating for atom. If you are maintaining this for vscode you should also maintain it for atom.

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/shd101wyy/vscode-markdown-preview-enhanced/issues/982, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOSA73SANZSJQHV6JQWXRTTFE2TPANCNFSM4XUTY6SQ .

Sdaniele commented 3 years ago

let me know if you need any repo steps...

shd101wyy commented 3 years ago

I investigate the issue today. It happened because of the update of the electron that current version of atom is using. Some APIs were changed. It will take me some more time to fix the problem. Sorry for the inconvenience.

shd101wyy commented 3 years ago

@pduersteler @walterrowe @Sdaniele I just issued a release which should fix the issue. Please help me try it out. Thank you!

theoamonteiro commented 3 years ago

@pduersteler @walterrowe @Sdaniele I just issued a release which should fix the issue. Please help me try it out. Thank you!

@shd101wyy I was facing the same issue, I updated to release v0.18.10 and it seems working now. Thanks a lot.

walterrowe commented 3 years ago

@shd101wyy .. works great for me. thanks!

Sdaniele commented 3 years ago

Works much better, previewing slides is now stable. However, if you edit the pages the viewer flickers for a short moment. Looks like the viewer crashes and restarts. Already a big improvement. Let me know if you need anything to repo on your side. I am on Apple Big Sur 11.0.1 Atom 1.56 and MDEP 0.18.11