Home

Awesome

Cybertopia theme for Marp

A dark theme for Marp / Marpit slides ecosystem using the Cybertopia Saturated highlight.js theme.

🗒️📷
Example of title page with image
Example of text
Example of code block

Installation

After the installation is complete, your slide frontmatter should at least contain this:

---
marp: true
theme: cybertopia
class: invert
---

For VS Code / Code OSS / VSCodium

  1. You already have Marp for VS Code installed.
  2. Open VS Code settings (<kbd>CTRL</kbd> + <kbd>,</kbd>).
  3. Search markdown.marp.themes and clikc Add element.
  4. Add this link: https://raw.githubusercontent.com/noraj/cybertopia-marp/master/themes/cybertopia.css.

Alternatively, you can also edit .vscode/settings.json on a per project basis, and add this if the theme was copied locally…

{
    "markdown.marp.themes": [
        "./themes/cybertopia.css"
    ]
}

… or this if you want to fetch the theme remotly:

{
    "markdown.marp.themes": [
        "https://raw.githubusercontent.com/noraj/cybertopia-marp/master/themes/cybertopia.css"
    ]
}

For Marp CLI

To use the theme with Marp CLI:

  1. Either clone the repository somewhere https://github.com/noraj/cybertopia-marp.git or download a Github ZIP archive and uncompress it.
  2. Copy themes/cybertopia.css file to your marp project.
  3. When using the Marp CLI, you may have to specify the theme you are using with the --theme cybertopia.css option.

For example, on this repository:

Demo

Demo slideshow: https://noraj.github.io/cybertopia-marp/