About

Markdown course website example / template

This is an example of course website written in Markdown.

Inputs:

Outputs:

Behind the scene

Pandoc is the engine used to process and compile the Markdown source files into HTML and PDF through LaTeX. This engine allows easy transformation of the Abstract Syntax Tree of the processed documents, which is used to strip the solutions from the public exercises sheets for example.

Quarto is used to generate the website with page navigation and search. Its more advanced features such as code execution aren’t used here.

Nix is used to manage the build process and its dependencies. Everything is run within a controlled sandbox, which can be run locally or remotely in a reproducible manner.

The GitLab platform is used to host the git source repository. The website and PDFs are automatically built for each push through GitLab CI. The website in particular is hosted and published, and updated automatically using GitLab Pages.

References

Licence

The code of this example is licensed under the CC BY-NC 4.0.

It can be used as a template for course websites, without requiring the publication of the added original content (which can may contain exercise solutions not meant to be shared publicly).