Allow slide breaks with #pause

Signed-off-by: Christoph Lohmann <20h@r-36.net>
master
Anders Damsgaard 2020-04-26 11:08:13 +02:00 committed by Christoph Lohmann
parent a95572477b
commit 1d4661b2ba
3 changed files with 15 additions and 0 deletions

View File

@ -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" \

View File

@ -0,0 +1,8 @@
Ende
======
Thanks for using cattools.
The end.

View File

@ -19,3 +19,5 @@ Just show something on this new slide.
Thanks for using cattools.
#pause
The end.