Skip to content

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

License

Notifications You must be signed in to change notification settings

KoharaKazuya/marp-cli-action

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

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.

jobs:
  publish:
    environment:
      name: github-pages
      url: ${{ steps.deployment.outputs.page_url }}
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

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

      - name: Upload artifact
        uses: actions/upload-pages-artifact@v3

      - name: Deploy to GitHub Pages
        id: deployment
        uses: actions/deploy-pages@v4

See example slide deck generated by this action.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •