Feature Request: Present with docker
brettswift opened this issue · 2 comments
brettswift commented
yarn, npm, node.. it sure would be nice to only have a markdown file in my project and just go...
docker run -it $PWD:/slides -p 8000:8000 yhatt/marp
.
No need for installing npm if my project is go, or python.
It'd be easy enough to develop, but thought it should be maintained here :)
yhatt commented
We have a basic Docker support in the CLI interface of the next Marp.
https://hub.docker.com/r/marpteam/marp-cli/
We are also planning server mode, so presented command would work in future.
yhatt commented
We're making a clean sweep of piled up issues. Marp CLI has maintained Docker image.
To serve converted HTML in $PWD
:
docker run --rm --init -v $PWD:/home/marp/app/ -p 8080:8080 -p 52000:52000 marpteam/marp-cli -s .