marp-team / marp-vscode

Marp for VS Code: Create slide deck written in Marp Markdown on VS Code
https://marketplace.visualstudio.com/items?itemName=marp-team.marp-vscode
MIT License
1.55k stars 72 forks source link

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

Closed lhrkkk closed 1 month ago

lhrkkk commented 1 month ago

Version of Marp Tool

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

Operating System

macOS

Environment

How to reproduce

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
yhatt commented 1 month ago

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

lhrkkk commented 1 month ago

Thank you! That solved my problem!