This repository is no longer actively maintained on GitHub.
Please update your bookmarks and remotes to the new home on Codeberg:
β‘οΈ https://codeberg.org/alexeygumirov/pandoc-beamer-how-to β¬ οΈ
Thank you for your understanding!
A standalone tool for creating beautiful PDF presentations from Markdown using Pandoc and LaTeX beamer.
The easiest way to install make_deck on macOS:
# Add the tap and install make_deck (includes all dependencies)
brew tap hubrix/make_deck https://github.com/hubrix/make_deck
brew install make-deck
# Optional: Install enhanced fonts for better typography
brew install --cask font-hack-nerd-font
Install all dependencies automatically on macOS:
make bootstrap-macos
# or with options:
bash scripts/bootstrap-macos.sh --full-tex # install mactex-no-gui instead of tectonic
bash scripts/bootstrap-macos.sh --no-fonts # skip Nerd Fonts
bash scripts/bootstrap-macos.sh --no-imagemagick
If you prefer manual installation:
# Install dependencies manually
brew install pandoc tectonic imagemagick
# Optional: Install fonts for enhanced typography
brew install --cask font-hack-nerd-font
# Download make_deck executable from this repository
Once installed, creating presentations is simple:
# Basic usage
make_deck presentation.md presentation.pdf
# With enhanced styling (uses preamble.tex)
make_deck presentation.md presentation.pdf --preamble
# Get help
make_deck --help
You can also use the provided Makefile:
make check # verify pandoc and a TeX engine exist
make build # generate presentation.pdf
make preamble # generate presentation_nice_formatting.pdf with enhanced styling
make open # open the generated PDF
Create a presentation.md file with this structure:
---
title: "My Presentation"
author: "Your Name"
institute: "Your Organization"
theme: "Frankfurt"
colortheme: "beaver"
fonttheme: "professionalfonts"
mainfont: "Hack Nerd Font"
fontsize: 11pt
aspectratio: 169
date: "2024"
toc: true
---
# Introduction
This is the first slide.
## Key Points
- Point one
- Point two
- Point three
# Conclusion
Thank you for your attention!
sudo apt-get update
sudo apt-get install pandoc imagemagick
# Install a TeX distribution
sudo apt-get install texlive-latex-recommended texlive-fonts-recommended
sudo apt-get install texlive-latex-extra texlive-fonts-extra texlive-xetex
# Download make_deck executable from this repository
If package managers aren't available:
make_deck executableUse fenced divs for multi-column layouts:
## Two Columns
::: columns
:::: column
Left content here.
::::
:::: column
Right content here.
::::
:::
The repository includes enhanced styling via preamble.tex:
Use --preamble flag or make preamble to apply enhanced styling.
Beamer offers many themes and color schemes:
This project builds on the excellent work from the original pandoc-beamer-how-to guide, providing:
make_deck executableThe tool uses:
For best results with custom fonts:
lualatex engine for TrueType font supportThe repository includes example presentations:
make_deck --help for usage informationmake check to verify dependenciesThe YAML frontmatter supports extensive customization:
title: "Presentation Title"
author: "Author Name"
institute: "Institution"
topic: "Subject Area"
theme: "Frankfurt" # Beamer theme
colortheme: "beaver" # Color scheme
fonttheme: "professionalfonts"
mainfont: "Hack Nerd Font" # Custom font
fontsize: 10pt
urlcolor: red
linkstyle: bold
aspectratio: 169 # 16:9 aspect ratio
titlegraphic: img/logo.png # Title slide graphic
logo: img/small-logo.png # Corner logo
date: "March 2024"
lang: en-US
section-titles: false
toc: true # Table of contents
The underlying Pandoc command supports many options:
--listings: Enhanced code formatting--toc: Automatic table of contents--slide-level 2: H2 headers create new slides--dpi=300: High-resolution images::: columns
:::: column
Left content
::::
:::: column
Right content
::::
:::
::: columns
:::: {.column width=40%}
Narrow column
::::
:::: {.column width=60%}
Wide column
::::
:::
::: columns
:::: column
Left
::::
:::: column
Center
::::
:::: column
Right
::::
:::
Format images for presentations:
# With caption and sizing
{width=80% height=60%}
# Centered image
{.center width=50%}
Syntax highlighted code:
```python
def hello_world():
print("Hello, World!")
return True
```
LaTeX mathematical expressions are fully supported:
Inline math: $E = mc^2$
Display math:
$$\int_{-\infty}^{\infty} e^{-x^2} dx = \sqrt{\pi}$$
Shell
80.1%
TeX
6.8%
Ruby
5.1%
Makefile
4.5%
Python
3.4%
This repository is no longer actively maintained on GitHub.
Please update your bookmarks and remotes to the new home on Codeberg:
β‘οΈ https://codeberg.org/alexeygumirov/pandoc-beamer-how-to β¬ οΈ
Thank you for your understanding!
A standalone tool for creating beautiful PDF presentations from Markdown using Pandoc and LaTeX beamer.
The easiest way to install make_deck on macOS:
# Add the tap and install make_deck (includes all dependencies)
brew tap hubrix/make_deck https://github.com/hubrix/make_deck
brew install make-deck
# Optional: Install enhanced fonts for better typography
brew install --cask font-hack-nerd-font
Install all dependencies automatically on macOS:
make bootstrap-macos
# or with options:
bash scripts/bootstrap-macos.sh --full-tex # install mactex-no-gui instead of tectonic
bash scripts/bootstrap-macos.sh --no-fonts # skip Nerd Fonts
bash scripts/bootstrap-macos.sh --no-imagemagick
If you prefer manual installation:
# Install dependencies manually
brew install pandoc tectonic imagemagick
# Optional: Install fonts for enhanced typography
brew install --cask font-hack-nerd-font
# Download make_deck executable from this repository
Once installed, creating presentations is simple:
# Basic usage
make_deck presentation.md presentation.pdf
# With enhanced styling (uses preamble.tex)
make_deck presentation.md presentation.pdf --preamble
# Get help
make_deck --help
You can also use the provided Makefile:
make check # verify pandoc and a TeX engine exist
make build # generate presentation.pdf
make preamble # generate presentation_nice_formatting.pdf with enhanced styling
make open # open the generated PDF
Create a presentation.md file with this structure:
---
title: "My Presentation"
author: "Your Name"
institute: "Your Organization"
theme: "Frankfurt"
colortheme: "beaver"
fonttheme: "professionalfonts"
mainfont: "Hack Nerd Font"
fontsize: 11pt
aspectratio: 169
date: "2024"
toc: true
---
# Introduction
This is the first slide.
## Key Points
- Point one
- Point two
- Point three
# Conclusion
Thank you for your attention!
sudo apt-get update
sudo apt-get install pandoc imagemagick
# Install a TeX distribution
sudo apt-get install texlive-latex-recommended texlive-fonts-recommended
sudo apt-get install texlive-latex-extra texlive-fonts-extra texlive-xetex
# Download make_deck executable from this repository
If package managers aren't available:
make_deck executableUse fenced divs for multi-column layouts:
## Two Columns
::: columns
:::: column
Left content here.
::::
:::: column
Right content here.
::::
:::
The repository includes enhanced styling via preamble.tex:
Use --preamble flag or make preamble to apply enhanced styling.
Beamer offers many themes and color schemes:
This project builds on the excellent work from the original pandoc-beamer-how-to guide, providing:
make_deck executableThe tool uses:
For best results with custom fonts:
lualatex engine for TrueType font supportThe repository includes example presentations:
make_deck --help for usage informationmake check to verify dependenciesThe YAML frontmatter supports extensive customization:
title: "Presentation Title"
author: "Author Name"
institute: "Institution"
topic: "Subject Area"
theme: "Frankfurt" # Beamer theme
colortheme: "beaver" # Color scheme
fonttheme: "professionalfonts"
mainfont: "Hack Nerd Font" # Custom font
fontsize: 10pt
urlcolor: red
linkstyle: bold
aspectratio: 169 # 16:9 aspect ratio
titlegraphic: img/logo.png # Title slide graphic
logo: img/small-logo.png # Corner logo
date: "March 2024"
lang: en-US
section-titles: false
toc: true # Table of contents
The underlying Pandoc command supports many options:
--listings: Enhanced code formatting--toc: Automatic table of contents--slide-level 2: H2 headers create new slides--dpi=300: High-resolution images::: columns
:::: column
Left content
::::
:::: column
Right content
::::
:::
::: columns
:::: {.column width=40%}
Narrow column
::::
:::: {.column width=60%}
Wide column
::::
:::
::: columns
:::: column
Left
::::
:::: column
Center
::::
:::: column
Right
::::
:::
Format images for presentations:
# With caption and sizing
{width=80% height=60%}
# Centered image
{.center width=50%}
Syntax highlighted code:
```python
def hello_world():
print("Hello, World!")
return True
```
LaTeX mathematical expressions are fully supported:
Inline math: $E = mc^2$
Display math:
$$\int_{-\infty}^{\infty} e^{-x^2} dx = \sqrt{\pi}$$
Shell
80.1%
TeX
6.8%
Ruby
5.1%
Makefile
4.5%
Python
3.4%