Render Markdown to HTML in CI with a minimal stylesheet.
Example output: this README.md rendered.
-
markdown_file- Optional path to the Markdown file to render. Defaults to
README.mdif not present.
- Optional path to the Markdown file to render. Defaults to
-
token- Optional, to authenticate to the GitHub API. You will likely get rate-limited without this.
-
html- Full HTML document with the body populated by the rendered Markdown.
- name: Render markdown
uses: fionn/render-markdown@master
with:
token: ${{ github.token }}
markdown_file: example.md