kristofer revidoval tento gist . Přejít na revizi
1 file changed, 19 insertions
note.md(vytvořil soubor)
@@ -0,0 +1,19 @@ | |||
1 | + | Highlight Code for Keynote | |
2 | + | ||
3 | + | ``` | |
4 | + | https://gist.github.com/jimbojsb/1630790 | |
5 | + | https://medium.com/@bucknall/tricks-for-presenting-code-in-keynote-72f11a1524c2 | |
6 | + | ``` | |
7 | + | ||
8 | + | ||
9 | + | `highlight -O rtf my file.py | pbcopy` | |
10 | + | ||
11 | + | Or even better: | |
12 | + | ||
13 | + | `pbpaste | highlight -O rtf -S java | pbcopy` | |
14 | + | ||
15 | + | ||
16 | + | See `man highlight` for more | |
17 | + | Use a terminal to run the pipe above. | |
18 | + | ||
19 | + | pretty print code for presos |
Novější
Starší