The Process
The overall process is straightforward:
- We write our (
marp
) presentation in a markdown file, and annotate the scala
code we want mdoc
to process.
- We run our
scala-cli
script, which uses mdoc
to process the markdown
file.
- We run
marp
on the processed markdown file, and it generates our slides.
These tools can be installed/used in several configurations. This repo/example
uses a package.json
to manage marp
, and the build script. I've opted to use
scala-cli
vs the mdoc
cli directly, but once you are familiar with the tools
and their options, you can make set up things how you see fit.