by Brian Harvey, Jens Mönig
The reference manual for the Snap! programming language. (GitHub)
Brian Harvey & Jens Mönig
There are 3 compoents, for the most part, you should focus on working the Quarto to render the Snap! manual.also
This version of the Snap! manual is built using Quarto.
You need:
- Quarto
- Pandoc
- LaTeX
macOS:
brew install quarto
brew install pandoc
brew install mactex-no-gui
It is also recommended to install the [Quarto VSCode extension][quarto_vscode]. [quarto_vscode]: https://marketplace.visualstudio.com/items?itemName=quarto.quarto
While writing content:
quarto preview
This will automatically build the web version and display it in the browser. Your webpage will automatically refresh as you save changes to files.
To compile the PDF and final version:
quarto render
You can use JuypterBook 2 (alpha) to also build the book.
Instructions coming soon.
If you are making large updates to the md structure, it may be worth working on the script to convert the Word document to markdown.
The script assumes you have pandoc
installed and available in your path.
cd conversion
ruby convert-word-doc.rb
This conversion script dumps content into conversion/chapters/
and then copies it into the content/
folder.
The website is hosted on GitHub pages, compiled by the quarto.yml
workflow.
The PDF is... TBD.