Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,23 @@ This repo is the "home page" for the Rust Africa Embedded

The slides can be presented using [`presenterm`](https://github.com/mfontanini/presenterm)

You can either present the markdown files directly or download the PDF files.
You can present the slides as follows :

```bash
presenterm +x <slide>.md
```

Or use the `present.sh` script as follows

```bash
./present.sh <slide>.md
```

To export the slides to PDF of HTML use the `export.sh` script as follows

```bash
./export.sh <slide>.md
```

You can find the slides [here](./slides/slides.md)

Expand Down
Binary file removed slides/PDF/day1.pdf
Binary file not shown.
Binary file removed slides/PDF/install.pdf
Binary file not shown.
86 changes: 86 additions & 0 deletions slides/config/presenterm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
transition :
duration_millis: 750
frames: 45
animation:
style: "fade"

defaults:
terminal_font_size: 18

# the image protocol to use.
image_protocol: auto

options:
# whether slides are automatically terminated when a slide title is found.
implicit_slide_ends: false

# the prefix to use for commands.
command_prefix: ""

# show all lists incrementally, by implicitly adding pauses in between elements.
incremental_lists: false

# this option tells presenterm you don't care about extra parameters in
# presentation's front matter. This can be useful if you're trying to load a
# presentation made for another tool
strict_front_matter_parsing: true

# whether to treat a thematic break as a slide end.
end_slide_shorthand: false

typst:
# the pixels per inch when rendering latex/typst formulas.
ppi: 300

mermaid:
# the scale parameter passed to the mermaid CLI (mmdc).
scale: 2

snippet:
exec:
# enable code snippet execution. Use at your own risk!
enable: true

render:
# the number of threads to use when rendering `+render` code snippets.
threads: 2

bindings:
# the keys that cause the presentation to move forwards.
next: ["l", "j", "<right>", "<page_down>", "<down>", " "]

# the keys that cause the presentation to move forwards fast.
next_fast: ["n"]

# the keys that cause the presentation to move backwards.
previous: ["h", "k", "<left>", "<page_up>", "<up>"]

# the keys that cause the presentation to move backwards fast
previous_fast: ["p"]

# the key binding to jump to the first slide.
first_slide: ["gg"]

# the key binding to jump to the last slide.
last_slide: ["G"]

# the key binding to jump to a specific slide.
go_to_slide: ["<number>G"]

# the key binding to execute a piece of shell code.
execute_code: ["<c-e>"]

# the key binding to reload the presentation.
reload: ["<c-r>"]

# the key binding to toggle the slide index modal.
toggle_slide_index: ["<c-p>"]

# the key binding to toggle the key bindings modal.
toggle_bindings: ["?"]

# the key binding to close the currently open modal.
close_modal: ["<esc>"]

# the key binding to close the application.
exit: ["<c-c>", "q"]
Loading