Here is a very early stage proof-of-concept for a Quarto format that produces HTML which is styled like the GOV.UK Design System.
Docs which have helped:
- https://github.com/quarto-dev/quarto-cli/tree/main/src/resources/formats
- https://quarto.org/docs/reference/formats/html.html
- https://github.com/quarto-dev/quarto-cli/blob/main/src/resources/formats/html/pandoc/html.template
- https://quarto.org/docs/extensions/formats.html
- https://quarto.org/docs/extensions/lua.html
- https://pandoc.org/lua-filters.html
quarto use template rossbowen/govuk-quarto
This will install the extension and create an example qmd file that you can use as a starting place for your article.
TODO: Describe how to use your format.
TODO: If your format has options that can be set via document metadata, describe them.
Here is the source code for a minimal sample document: example.qmd.