/marp-cli-action

A GitHub Action to convert markdown files into static HTML / CSS, PDF, PowerPoint document, and image(s) by @marp-team/marp-cli.

Primary LanguageJavaScriptMIT LicenseMIT

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