Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
layers

GitHub Action

Marp CLI Action

v2.0.0

Marp CLI Action

layers

Marp CLI Action

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 CLI Action

uses: KoharaKazuya/marp-cli-action@v2.0.0

Learn more about this action in KoharaKazuya/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@v2

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

- 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.