Skip to content

jd-solanki/gh-action-md-to-html

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Markdown to HTML

Converts markdown files to HTML

Usage

- name: Convert index.md to index.html
  uses: jd-solanki/[email protected]
  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