An open API service indexing awesome lists of open source software.

https://github.com/moedevelops/marp-github-pages-template

A templeate for Marp Presentations on GitHub Pages
https://github.com/moedevelops/marp-github-pages-template

github-pages markdown marp marpit presentation presentation-slides slides template

Last synced: 5 days ago
JSON representation

A templeate for Marp Presentations on GitHub Pages

Awesome Lists containing this project

README

          

# Marp GitHub Pages Template

This template allows you to deploy your Marp Presentation via GitHub Pages

## Setup

1. Click on `Use this template` and create a repository

2. Enable Pages: Settings > Pages > Source: Select GitHub Actions

3. Re-run the `Deploy to GitHub Pages` Action

## Local building

Install marp cli:

```sh
npm i @marp-team/marp-cli
```

Add the following build script:

```sh
npx @marp-team/marp-cli --html index.md -o build/index.html --theme theme.css && cp -r assets/ build/ | true
```

## VSCode extension

To preview your marp project you can use the VSCode extension.

### Enable custom css in preview

Marp for VS Code exention > Settings > `Markdown > Marp: Themes` > Add item `theme.css`