-
|
I’m transitioning from Visual Studio Code to Neovim and am using marp-cli to preview slides as I develop them. While Is there a way to make marp-cli to provide a preview similar to the VSCode one? Or is there any other solution? The nvim If this isn’t possible, what is the most efficient and effective approach to developing this feature? I’m new to the ecosystem and would greatly appreciate any guidance from the maintainers to help me get started. Thanks in advance! 😊 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
In Marp CLI, using the bare template through 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: |
Beta Was this translation helpful? Give feedback.
In Marp CLI, using the bare template through
--template bareoption 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: