目录

Render Markdown

Render Markdown to HTML in CI with a minimal stylesheet.

Example output: this README.md rendered.

Usage

Inputs

  • markdown_file

    • Optional path to the Markdown file to render. Defaults to README.md if not present.
  • token

    • Optional, to authenticate to the GitHub API. You will likely get rate-limited without this.

Outputs

  • html
    • Full HTML document with the body populated by the rendered Markdown.

Example

- name: Render markdown
  uses: fionn/render-markdown@master
  with:
    token: ${{ github.token }}
    markdown_file: example.md
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802047560号