pyremark_slides

a markdown to remark.js engine

go to project page

get some idea

write with markdown

and present it

pyremark_slides

a python package for converting markdown to remarkjs slides.

a sister project of pyreveal.

This project is done to put the markdown content to a base template file which is styled using jinja2, and also use the yaml header to do the config for each file.

In other words, the purpose of this project focused on separating the heavy html/css configs from the markdown content, and keep only a minimal config setup using the yaml way on top of the markdown file.

Please try.

Install

git clone https://github.com/wcchin/pyremark_slides.git
cd pyremark_slides
pip install -e .

Using

cd slides_dir
pyremark -i a_file.md -w

a file name a_file.slides.html will be generated, open it with a browser.

The markdown file template

slide_title: testing remarkjs
custom_css: custom.css
remarkjs_path: remarkjs/remark-0.15.0.js

# Some title

---

second page

Available themes

Demo

Screenshot

Theme Style Title page Content page
Catppuccin Mocha (dark) Catppuccin - Mocha - title Catppuccin - Mocha - content
Catppuccin Latte (light) Catppuccin - Latte - title Catppuccin - Latte - content
Rosepine Moon (dark) Rosepine - Moon - title Rosepine - Moon - content
Rosepine Dawn (light) Rosepine - Dawn - title Rosepine - Dawn - content
Everforest Night (dark) Everforest - Night - title Everforest - Night - content
Everforest Day (light) Everforest - Day - title Everforest - Day - content
Nord Polar (dark) Nord - Polar - title Nord - Polar - content
Nord Storm (light) Nord - Storm - title Nord - Storm - content

Added more themes (2025-03-26)

Update (2024-01-11)

Some additional feature (2023/2/13)

These features were in testing stage.

Note:

custom.css file default to this:

@import url(https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz);
@import url(https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic);
@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700,400italic);

body { font-family: 'Droid Serif'; }
h1, h2, h3 {
  font-family: 'Yanone Kaffeesatz';
  font-weight: normal;
}
.remark-code, .remark-inline-code { font-family: 'Ubuntu Mono'; }