Skip to content
Discussion options

You must be logged in to vote

In Marp CLI, using the bare template through --template bare option may provide the most similar view as VS Code. It just aligns slides in vertical and you can scroll it.
https://github.com/marp-team/marp-cli#bare-template

But unlike VS Code, the slide will be snapped into the browser window to be helpful for actual presentation.

If you want to build your own custom viewer for Marp slides, it's recommended to use Marp Core. If you want to create a VS Code-style view, it can be implemented with a few dozen lines of code:

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@boborbt
Comment options

@yhatt
Comment options

@boborbt
Comment options

Answer selected by boborbt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants