Skip to content
layers

GitHub Action

Marp HTML

v0.0.2 Latest version

Marp HTML

layers

Marp HTML

Run @marp-team/marp-cli to convert markdown files into static HTML / CSS, PDF, PowerPoint document, and image(s)

Installation

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

              

- name: Marp HTML

uses: manattan/marp-cli-action@v0.0.2

Learn more about this action in manattan/marp-cli-action

Choose a version

Marp CLI Action

Translations: English 日本語

A GitHub Action to convert markdown files into static HTML / CSS, PDF, PowerPoint document, and image(s) by @marp-team/marp-cli. This action can invoke Marp CLI and generate HTML, PDF, PowerPoint and images from Markdown files in the repository.

This example will publish a HTML slide deck and a PDF file on GitHub Pages.

- uses: actions/checkout@v3

- name: Convert Markdown into HTML and PDF
  uses: KoharaKazuya/marp-cli-action@v2

- name: Deploy to GitHub Pages
  uses: peaceiris/actions-gh-pages@v3
  with:
    github_token: ${{ secrets.GITHUB_TOKEN }}
    publish_dir: ./

See example slide deck genereted by this action.