···11HI THERE
2233-Welcome to shlide. Here are a few bullet points:
33+Welcome to $CYNshlide$RST. Here are a few bullet points:
4455- first point
66- second point
+9-8
shlide
···5566# Color definitions
7788-#BLK="\e[30m"
99-#RED="\e[31m"
1010-#GRN="\e[32m"
1111-#YLW="\e[33m"
1212-#BLU="\e[34m"
1313-#PUR="\e[35m"
1414-#CYN="\e[36m"
88+BLK="\e[30m"
99+RED="\e[31m"
1010+GRN="\e[32m"
1111+YLW="\e[33m"
1212+BLU="\e[34m"
1313+PUR="\e[35m"
1414+CYN="\e[36m"
1515+RST="\e[0m"
15161617lstrip() {
1718 # See: https://github.com/dylanaraps/pure-bash-bible#strip-pattern-from-start-of-string
···5455 while IFS= read -r line; do
5556 # Print the contents of the slide file,
5657 # line by line.
5757- printf '%s' "$line"
5858+ printf "%s" "$line"
5859 # Move down and back after each print.
5960 printf '\e[%sD\e[B' "${#line}"
6061 done <<< "$slide_contents"