gh extension to render Markdown files as HTML.


Specify one or more Markdown files to generate as arguments to gh render-markdown:

gh render-markdown

Alternatively, STDIN can be used which allows for a few different usage patterns. For example, you can redirect input:

gh render-markdown <

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


gh extension install itspriddle/gh-render-markdown

Bug Reports

Issues can be reported on GitHub:


MIT License - see LICENSE in this repository.

Tags: API, Bash, CLI, Git