Allow slide breaks with #pause

Signed-off-by: Christoph Lohmann <20h@r-36.net>
master
Anders Damsgaard 4 years ago committed by Christoph Lohmann
parent a95572477b
commit 1d4661b2ba

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

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

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

Loading…
Cancel
Save