Card Anchor

Overview

The card anchor @card starts a new card. You can customize the card's name, background color, side color, and font color.

Named Arguments

Named Argument

Property

Example

title

Card title

title="Test Card"

section

Card section

section="Introduction"

bg-color

Card background color

bg-color=rgb(122,122,122)

side-color

Card side color

side-color=rgb(255,0,0)

text-color

Card text color

text-color=rgb(255,255,255)

Examples

Example 1: Using @card to create card with custom title, background color, and text color

# @card title="Test card" bg-color=rgb(122,255,255) text-color=rgb(255,255,255)
# @output heading data=<<'Sample Text'>>
# @doc #Data
# @doc ##More Data
# @doc ####More more data
668668

Example 2: Using @card to create card with custom title and side color

# @card title="Test card" side-color=rgb(255,0,1)
# @output heading data=<<'Sample Text'>>
# @doc #Data
# @doc ##More Data
# @doc ####More more data
686686

Did this page help you?