Release Notes
0.0.2-dev.1: ?? (??-??-????)
Breaking changes
- custom-callout now requires Quarto 1.11 or later.
Features
- Added RevealJS presentation support. Custom colors, emoji icons, FontAwesome icons, and appearance styles now work in
format: revealjs. (#15) - Custom callouts keep their color and icon in PDF, Typst and EPUB output, and become note alerts in GitHub Markdown. A new docs page shows each format.
- Allow
titleto be specified as a markdown header in the callout’s content.
::: todo
## Todo with Title Defined as Markdown in Content
Hello there!
:::- Added Lua type definitions for the
custom-calloutfilter.
Bugfixes
icon: falsehides a callout’s icon, andicon-symbolsupports FontAwesome brand icons such asfa-github.- Callouts keep their id, classes and attributes, so you can link to them and place them in the margin.
coloraccepts 3-digit hex colors such as"#F00".- Fixed FontAwesome icons rendering as placeholder characters by bundling FA 7 Free Solid font (woff2) and registering it as an HTML dependency.
- Fixed icons appearing in italics. (#5, thanks @jtkulas)
0.0.1: Can you hear me now? (10-21-2024)
Features
custom-calloutenables the creation of custom callouts in a Quarto HTML document’s YAML header.- Specify the custom callout by using a unique key under the
custom-calloutheader and setting the following properties:icon-symbol: Set the icon symbol for the callout using a valid string, emoji, or FontAwesome 7 icon.color: Set the color of the callout using a hex code or valid CSS color name.icon: Set totrueto display an icon.title: Set the title of the callout.appearance: Set the appearance of the callout to:"default"(icon, border and background coloring)"simple"(icon and border coloring), or"minimal"(border coloring).
---
title: "Custom Callout Examples"
format: html
custom-callout:
todo:
icon-symbol: "📝"
color: "pink"
jjb:
icon: true
title: "fix for JJB"
icon-symbol: "fa-clock"
color: "#FFA500"
appearance: "simple"
filters:
- custom-callout
---
::: todo
Hello there!
:::
::: jjb
Please address this issue ...
:::