This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

✨ : add demo presentation

Julien WITTOUCK (Jun 4, 2026, 8:34 AM +0200) d4290d0e 86aa17fb

+232
+232
demo.md
··· 1 + --- 2 + title: Introducing _presenterm_ 3 + author: Matias 4 + --- 5 + 6 + Customizability 7 + --- 8 + _presenterm_ allows configuring almost anything about your presentation: 9 + 10 + * The colors used. 11 + * Layouts. 12 + * Footers, including images in the footer. 13 + 14 + <!-- pause --> 15 + 16 + This is an example on how to configure a footer: 17 + 18 + ```yaml 19 + footer: 20 + style: template 21 + left: 22 + image: doge.png 23 + center: '<span class="noice">Colored</span> _footer_' 24 + right: "{current_slide} / {total_slides}" 25 + height: 5 26 + 27 + palette: 28 + classes: 29 + noice: 30 + foreground: red 31 + ``` 32 + 33 + <!-- end_slide --> 34 + 35 + Headers 36 + --- 37 + 38 + Markdown headers can be used to set slide titles like: 39 + 40 + ```markdown 41 + Headers 42 + ------- 43 + ``` 44 + 45 + # Headers 46 + 47 + Each header type can be styled differently. 48 + 49 + ## Subheaders 50 + 51 + ### And more 52 + 53 + <!-- end_slide --> 54 + 55 + Code highlighting 56 + --- 57 + 58 + Highlight code in 50+ programming languages: 59 + 60 + ```rust 61 + // Rust 62 + fn greet() -> &'static str { 63 + "hi mom" 64 + } 65 + ``` 66 + 67 + ```python 68 + # Python 69 + def greet() -> str: 70 + return "hi mom" 71 + ``` 72 + 73 + <!-- pause --> 74 + 75 + ------- 76 + 77 + Code snippets can have different styles including no background: 78 + 79 + ```cpp +no_background +line_numbers 80 + // C++ 81 + string greet() { 82 + return "hi mom"; 83 + } 84 + ``` 85 + 86 + <!-- end_slide --> 87 + 88 + Dynamic code highlighting 89 + --- 90 + 91 + Dynamically highlight different subsets of lines: 92 + 93 + ```rust {1-4|6-10|all} +line_numbers 94 + #[derive(Clone, Debug)] 95 + struct Person { 96 + name: String, 97 + } 98 + 99 + impl Person { 100 + fn say_hello(&self) { 101 + println!("hello, I'm {}", self.name) 102 + } 103 + } 104 + ``` 105 + 106 + <!-- end_slide --> 107 + 108 + Snippet execution 109 + --- 110 + 111 + Code snippets can be executed on demand: 112 + 113 + * For 20+ languages, including compiled ones. 114 + * Display their output in real time. 115 + * Comment out unimportant lines to hide them. 116 + 117 + ```rust +exec 118 + # use std::thread::sleep; 119 + # use std::time::Duration; 120 + fn main() { 121 + let names = ["Alice", "Bob", "Eve", "Mallory", "Trent"]; 122 + for name in names { 123 + println!("Hi {name}!"); 124 + sleep(Duration::from_millis(500)); 125 + } 126 + } 127 + ``` 128 + 129 + <!-- end_slide --> 130 + 131 + Images 132 + --- 133 + 134 + Images and animated gifs are supported in terminals such as: 135 + 136 + * kitty 137 + * iterm2 138 + * wezterm 139 + * ghostty 140 + * foot 141 + * Any sixel enabled terminal 142 + 143 + <!-- column_layout: [1, 3, 1] --> 144 + 145 + <!-- column: 1 --> 146 + 147 + ![](doge.png) 148 + 149 + _Picture by Alexis Bailey / CC BY-NC 4.0_ 150 + 151 + <!-- end_slide --> 152 + 153 + Column layouts 154 + --- 155 + 156 + <!-- column_layout: [7, 3] --> 157 + 158 + <!-- column: 0 --> 159 + 160 + Use column layouts to structure your presentation: 161 + 162 + * Define the number of columns. 163 + * Adjust column widths as needed. 164 + * Write content into every column. 165 + 166 + ```rust 167 + fn potato() -> u32 { 168 + 42 169 + } 170 + ``` 171 + 172 + <!-- column: 1 --> 173 + 174 + ![](doge.png) 175 + 176 + <!-- reset_layout --> 177 + 178 + --- 179 + 180 + Layouts can be reset at any time. 181 + 182 + ```python 183 + print("Hello world!") 184 + ``` 185 + 186 + <!-- end_slide --> 187 + 188 + Text formatting 189 + --- 190 + 191 + Text formatting works including: 192 + 193 + * **Bold text**. 194 + * _Italics_. 195 + * **_Bold and italic_**. 196 + * ~Strikethrough~. 197 + * `Inline code`. 198 + * Links [](https://example.com/) 199 + * <span style="color: red">Colored</span> text. 200 + * <span style="color: blue; background-color: black">Background color</span> can be changed too. 201 + 202 + <!-- end_slide --> 203 + 204 + More markdown 205 + --- 206 + 207 + Other markdown elements supported are: 208 + 209 + # Block quotes 210 + 211 + > Lorem ipsum dolor sit amet. Eos laudantium animi ut ipsam beataeet 212 + > et exercitationem deleniti et quia maiores a cumque enim et 213 + > aspernatur nesciunt sed adipisci quis. 214 + 215 + # Alerts 216 + 217 + > [!caution] 218 + > Github style alerts 219 + 220 + # Tables 221 + 222 + | Name | Taste | 223 + | ------ | ------ | 224 + | Potato | Great | 225 + | Carrot | Yuck | 226 + 227 + <!-- end_slide --> 228 + 229 + <!-- jump_to_middle --> 230 + 231 + The end 232 + ---
doge.png

This is a binary file and will not be displayed.