Inspired by this blog post.
The shell script is what does the work, and what you call with the source file as the first argument.
For example, let us name the shell script revealjs-make-reflist.sh
and the source file for the slide
example.md
(can also be .html
, or actually anything else as long as it contains html code the the
script understands). Then we call the script with