Skip to content
award

GitHub Action

Convert Markdown to HTML

v1.3.0 Latest version

Convert Markdown to HTML

award

Convert Markdown to HTML

Convert multiple markdown files to html files

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Convert Markdown to HTML

uses: jd-solanki/gh-action-md-to-html@v1.3.0

Learn more about this action in jd-solanki/gh-action-md-to-html

Choose a version

Markdown to HTML

Converts markdown files to HTML

Usage

- name: Convert index.md to index.html
  uses: jd-solanki/gh-action-md-to-html@v1.3.0
  with:
    files: '[["index.md", "index.html"]]'
    theme: 'dark' # Optional, default: auto
    title: 'My Website' # Optional, If title isn't provided title tag won't get added
    favicon: 'https://github.githubassets.com/favicons/favicon-dark.png' # Optional, If favicon isn't provided favicon's link tag won't get added

ToDo

  • Fetch title from repo name if isn't provided (PR welcome)

Credits