Quarto Extensions are a powerful way to modify or extend the behavior of Quarto, and can be created and distributed by anyone. There are three types of extensions available:
Shortcodes are special markdown directives that generate various types of content. For example, you could create shortcodes to embed tweets or videos in a document.
Filters are a flexible and powerful tool for introducing new global behaviors and/or new markdown rendering behaviors. For example, you could create filters to implement output folding, an image carousel, or just about anything you can imagine!
Formats enable you to create new output formats by bundling together document options, templates, stylesheets, and other content.
Here are some examples of extensions developed and maintained by the core Quarto team:
Extension | Description |
---|---|
lightbox | Create lightbox treatments for images in your HTML documents. |
fancy-text | Output nicely formatted versions of fancy strings such as LaTeX and BibTeX in multiple formats. |
fontawesome | Use Font Awesome icons in HTML and PDF documents. |
latex-environment | Quarto extension to output custom LaTeX environments. |
To learn more about using extensions, see the Extensions documentation on the Quarto website. If you want to dive in to creating your own extensions check out the articles on Creating Shortcodes, Creating Filters, and Creating Formats.