gh-render-markdown
gh extension to render Markdown files as HTML.
Usage
Specify one or more Markdown files to generate as arguments to gh
render-markdown
:
gh render-markdown README.md CONTRIBUTING.md
Alternatively, STDIN can be used which allows for a few different usage patterns. For example, you can redirect input:
gh render-markdown < README.md
Or pipe a command that outputs Markdown:
echo '# markdown' | gh render-markdown
Or pass raw Markdown directly via input:
gh render-markdown <<< '# markdown'
Or manually type a blob of Markdown yourself by opening STDIN (press Ctrl-D when done):
gh render-markdown
# markdown
^D
Installation
gh extension install itspriddle/gh-render-markdown
Bug Reports
Issues can be reported on GitHub:
https://github.com/itspriddle/gh-render-markdown/issues
License
MIT License - see
LICENSE
in this repository.
Tags: API, Bash, CLI, Git