Skip to content

Why my marp-cli doesnt work in git-bash, but go well in powershell? #500

Answered by yhatt
Do7and asked this question in Q&A
Discussion options

You must be logged in to vote

It looks similar to the case of python.
https://stackoverflow.com/questions/32597209/python-not-working-in-the-command-line-of-git-bash

In MinGW (Git Bash), Marp CLI would work by disabling to read piped stdin through --no-stdin option.

marp --no-stdin

Or use winpty bridge to run Marp CLI.

# Use `marp.cmd` instead of `marp` when using Marp CLI installed by npm. winpty seems not to be able to automatically detect the correct extension for running.
winpty marp.cmd

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Do7and
Comment options

Answer selected by Do7and
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