mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
34 lines
853 B
Plaintext
34 lines
853 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# presenterm
|
|
|
|
> A terminal-based slideshow tool that renders markdown presentations.
|
|
> More information: <https://mfontanini.github.io/presenterm/>.
|
|
|
|
- Display a presentation:
|
|
|
|
`presenterm {{path/to/slides.md}}`
|
|
|
|
- Display a presentation with a specific theme:
|
|
|
|
`presenterm --theme {{dark|light|tokyonight-storm|...}} {{path/to/slides.md}}`
|
|
|
|
- List all available themes:
|
|
|
|
`presenterm --list-themes`
|
|
|
|
- Export a presentation to PDF:
|
|
|
|
`presenterm --export-pdf --output {{path/to/output.pdf}} {{path/to/slides.md}}`
|
|
|
|
- Display a presentation with code snippet execution enabled:
|
|
|
|
`presenterm --enable-snippet-execution {{path/to/slides.md}}`
|
|
|
|
- Validate that presentation content fits within the terminal:
|
|
|
|
`presenterm --validate-overflows {{path/to/slides.md}}`
|