-
-
Notifications
You must be signed in to change notification settings - Fork 82
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
Play slides on VS Code through exported HTML #87
Comments
it would be really great to present slides directly from the VS code! |
Same here - even if there was a keyboard shortcut for next and previous slide in the preview, and we could full-screen the preview, this would help immensely. I wonder if there is a simpler way to implement this within vscode than how the op is proposing? Here's the link to the currently open Vscode issue which intersects with this IMO: |
The latest VS Code 1.58 is testing an official Live Preview extension for replacing unmaintained one. By using exported HTML, we can try what if Marp slide can play within VS Code. As pointed out by @lukebrowell, many features are limited in VS Code (e.g. Full screen, presenter view). So we are considering to use Marp CLI's preview window as the backend instead of VS Code's WebView. It requires Google Chrome or the flavored browser but there is no restrictions for playing presentation. |
For what it's worth, I prefer the browser option (because of the full-screen option and presenter-mode with notes). The current experience really just needs:
|
I'm unsure why people would need to present from VSCode except for it being a faster work flow (can you confirm, @apavlenko & @lukebrowell?). If that's the case, I think implementing @Jaykul suggestions would make much sense: default to HTML, default of subsequent exports to erase the same file in HTML.
Actually, I'd also recommend having multiple options in the Marp menu in VSCode:
|
Confirmed @sbibauw - I use markdown to author slides rapidly in vscode for immediate presentation in teams calls and workshops. Workflows which don’t rely on the mouse pointer are optimum. |
Nice. Let me organize features:
Remaining
|
I would love to be able to present directly from VS Code. The case I have is to present the IDE next to auxiliary content in video calls. Especially MS Teams is only sharing a single window, the full screen, or a camera. It is hard to get this to work nicely for users when one has to switch between programs. The other case that makes this interesting is that it would be nice to have an IDE to show details about what's on a slide. It would be enough for me if |
I would like to present right via VS Code as well. marp --preview THE_CURRENT_FILE.md # --preview already implies --watch Ideally with the twist, that not the stored version is watched, but the current working state in the VS Code editor (so it does not require saving changes to disc, to see them in the marp-cli preview window). |
Marp for VS Code is just a extension to Markdown pane for preview Marp slides when writing. Normally user should use exported HTML/PDF/PPTX for the practical presentation.
However, We have received some (silent) feedbacks to want to play slideshow on VS Code. We are considering to support playing the exported HTML from Marp CLI directly in VS Code,
by adding custom WebView by Marp extension.A vscode-reveal extension, based on reveal.js, has already supported playing slideshow within VS Code. So we should be able the same with similar approach.ToDo
--server
)? (Should pay attention to the behavior of remote extension)Add custom WebView to render converted HTMLThe text was updated successfully, but these errors were encountered: