Skip to content

Releases: coatless-quarto/custom-callout

Can you hear me now?

25 Oct 06:58
Compare
Choose a tag to compare

Features

  • custom-callout enables 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-callout header and setting the following properties:
    • icon-symbol: Set the icon symbol for the callout using a valid string, emoji, or FontAwesome 6 icon.
    • color: Set the color of the callout using a hex code or valid CSS color name.
    • icon: Set to true to display an icon.
    • title: Set the title of the callout.
    • collapse: Set whether the callout should be reduced in size.
    • 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 ...
:::