Tool to convert markdown documents to revealjs slides.
Syntax to use in the markdown document to covert it properly to revealjs slides.
---#
: new horizontal slide---##
: new vertical slide
- Supported syntax : Mkdocs Admonitions
!!! note
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
!!! danger
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Setting the first line of the code snippet as
{data-line-numbers="all|2|all"}
allows to:
- show line numbers
- highlight specific numbers
Usage:
1,5
: highlights lines 1 and 51-5
: highlights lines from 1 to 5 (range)all
: highlights all lines|
char creates a transition
```c++
{data-line-numbers="all|2|all"}
int main() {
return 0;
}
```
# Create dedicated virtual environment
# (it avoids to encounter issues with markdown conversion)
virtualenv venv-trainings
# Enable virtual environment
source venv-trainings/bin/activate
# Install requirements
pip install -r requirements.txt
# syntax
python create-preso.py "<file.md>" - t "<theme-name>"
# syntax
python create-preso.py Go-Nalug.md -t nalug