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

Marp-vscode Preview Not Working in Latest VSCode Version #459

Closed
lhrkkk opened this issue Jul 14, 2024 · 2 comments
Closed

Marp-vscode Preview Not Working in Latest VSCode Version #459

lhrkkk opened this issue Jul 14, 2024 · 2 comments

Comments

@lhrkkk
Copy link

lhrkkk commented Jul 14, 2024

Version of Marp Tool

marp-vscode v2.8.0 - 2023-10-28

Operating System

macOS

Environment

  • Marp-vscode version: 2.8.0 (2023-10-28)
  • Visual Studio Code version: 1.91.0 (Universal)
  • OS: macOS 14.5 (23F79)
  • Hardware: MacBook Air 15-inch, M2, 2023

How to reproduce

  • Open Visual Studio Code.
  • Ensure the Marp-vscode extension is installed and enabled.
  • Open a markdown file with Marp slide syntax and ensure marp: true is specified.
  • Attempt to open the preview using the Marp-vscode extension.
  • Notice that the preview renders as regular markdown instead of Marp slides.

Expected behavior

The preview should render the markdown file as Marp slides, displaying the slide content as intended.

Actual behavior

The preview renders the markdown file as regular markdown, not displaying the Marp slides correctly.

Additional information

iShot_2024-07-15_01 39 29
@lhrkkk lhrkkk added the bug Something isn't working label Jul 14, 2024
@yhatt
Copy link
Member

yhatt commented Jul 14, 2024

This screenshot shows that the Markdown preview is provided from Markdown Preview Enhanced extension. Marp for VS code extension is designed for extending VS Code built-in Markdown preview, so that is not a bug. Marp preview does not available when opening the preview in any other Markdown preview extensions.

Simply disable Markdown Preview Enhanced extension, or try to open the Markdown preview provided from VS Code, not from other Markdown extensions.
Reference: https://github.com/orgs/marp-team/discussions/423#discussioncomment-5376585

@yhatt yhatt closed this as not planned Won't fix, can't repro, duplicate, stale Jul 14, 2024
@yhatt yhatt removed the bug Something isn't working label Jul 14, 2024
@lhrkkk
Copy link
Author

lhrkkk commented Jul 14, 2024

Thank you! That solved my problem!

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

No branches or pull requests

2 participants