Marp is used to create presentations in Markdown. In this repository, you may find simple CSS themes that I have created. Namely:
-
inspired by / based on LaTeX's beamer class
-
download the Computer Modern Unicode font family for best results
-
follow the tutorial to change the primary colors
-
more screenshots on the community themes website
Download the CSS file:
https://rnd195.github.io/my-marp-themes/beam.css
-
based on the
default
Marp theme -
find more screenshots on the community themes website
-
note that the theme imports a font from Google Fonts (see Privacy notice below)
Download the CSS file:
https://rnd195.github.io/my-marp-themes/border.css
-
also based on the
default
Marp theme -
more screenshots available on the community themes website
-
note that the theme imports a font from Google Fonts (see Privacy notice below)
Download the CSS file:
https://rnd195.github.io/my-marp-themes/gradient.css
gradient
, classblue
- click here to see more screenshots
- note that the theme imports a font from Google Fonts (see Privacy notice below)
Download the CSS file:
https://rnd195.github.io/my-marp-themes/graph_paper.css
Assuming you're using the VSCode Marp extension…
- Open Settings in VSCode (
Ctrl + ,
) - Search for "Marp: Themes" or "markdown.marp.themes"
- Add either a local (on your computer) or a remote path to the CSS file
- Links: please, consider forking the repository and hosting the CSS files using, for example, GitHub Pages (related Stack Overflow discussion) instead of linking to the raw file on GitHub (refer to GitHub's blogpost for more info)
- Enable the theme in the front-matter of the Markdown document, i.e., write the following at the very beginning of the Markdown document:
---
marp: true
theme: theme_name
---
- Try restaring VSCode if it doesn't work right away
For additional settings (such as size
or paginate
), follow the official documentation.
The beamer
-inspired beam
theme is licensed under GNU GPLv3. Parts of the beamer
class are dual-license with one option being the GNU GPLv2. The rest of the repository is licensed under the MIT License.
The beam
, border
, graph_paper
, and gradient
themes are based on the default
Marp themes made by yhatt. The border
and gradient
themes import the Inter font by Rasmus Andersson. The graph_paper
theme imports the Work Sans font by Wei Huang.
Please, be aware that by using some of the CSS themes (namely border
, gradient
, and graph_paper
) you import fonts from the Google Fonts service. Please, refer to their Privacy FAQ for more information about using their service.
The CSS files are also hosted on the GitHub Pages site of this repository (deployed from the live
branch). The site is automatically built after each commit.