This extension adds the TACHYONS - Css Toolkit to a quarto HTML document or quarto revealjs presentation.
Functional CSS for humans. Quickly build and design new UI without writing CSS.
It allows changing the design of HTML elements by adding classes to them.
If you want to start with a template do:
quarto use template nareal/tachyons
You just want to install the extension use:
quarto add nareal/tachyons
This will install the extension under the _extensions
subdirectory.
If you're using version control, you will want to check in this directory.
To update the extension use:
quarto update extension nareal/tachyons
and to remove it:
quarto remove extension nareal/tachyons
To use the extension simply add it as a filter to the YAML header of the quarto document, for example:
---
title: "Tachyons Example"
filters:
- tachyons
---
You can now use the library by adding its classes to the HTML elements.
To learn more:
- tachyons tldr
- dwyl/learn-tachyons: Learn how to use Tachyons to craft beautiful, responsive and fast UI with functional CSS!
Here is the source code for a minimal example: example.qmd, and the resulting rendered HTML file.