@aibulat/mark
Render Markdown in the terminal — from a file or from stdin. Built on marked with marked-terminal as the renderer.
Install
bash
npm install -g @aibulat/markUse
bash
cat somefile.md | mark
mark -f somefile.mdBoth forms go through the same renderer; with no -f the input is read from stdin, which is what makes it composable in a pipeline:
bash
gh pr view 42 --json body -q .body | markA missing -f target exits 1 with File not found: on stderr.