commit 1d4661b2bad4cbf548b70d58ef36cd8eadae5978 parent a95572477bff2598efa67d54288315a8aec86a54 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 26 Apr 2020 11:08:13 +0200 Allow slide breaks with #pause Signed-off-by: Christoph Lohmann <20h@r-36.net> Diffstat:
bin/md2point | | | 5 | +++++ |
examples/hello/0004-_Ende.txt | | | 8 | ++++++++ |
examples/hello/hello.md | | | 2 | ++ |
3 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/bin/md2point b/bin/md2point @@ -29,6 +29,11 @@ do printf "\n %s\n %s\n\n" \ "$title" "$(mkunderline $titlelen "=")" >> $fname ;; + \#pause) + fname="$(mkfilename "$snum" "$title")" + cat "$(mkfilename "$((snum - 1))" "$title")" >> $fname + snum=$((snum + 1)) + ;; *) [ -n "$fname" ] && \ printf " %s\n" "$line" \ diff --git a/examples/hello/0004-_Ende.txt b/examples/hello/0004-_Ende.txt @@ -0,0 +1,8 @@ + + Ende + ====== + + + Thanks for using cattools. + + The end. diff --git a/examples/hello/hello.md b/examples/hello/hello.md @@ -19,3 +19,5 @@ Just show something on this new slide. Thanks for using cattools. +#pause +The end.