Organization Anchors

Organization Anchors

Organization anchors are used to create cards in your Artemis archive to hold the content generated from your anchors. By default, Artemis generates a single card which will contain all content generated by your anchors. However, using the organizational anchor @card allows you to create new cards with custom names, colors, and sections. This allows you to group and organize your Archive content into the manner that makes the most sense for you.

You can create a new card using the following syntax:

# @card title="Card Name"

For example, if you want to put the content of a documentation anchor into a card named "Overview", you can write

# @card title="Card Name"
# @doc Sample Content

Important Note: You will not see a card appear until you've generated content that can be placed in that card.

Optional Card Customization

In addition to configuring a card's title, you can configure a card's section, background color, side color, and text color.

Named ArgumentPropertyExample
titleTitle of cardtitle="Test Card"
sectionSection that card belongs tosection="Introduction"
bg-colorColor of card's backgroundbg-color=rgb(122,122,122)
side-colorColor of card's left borderside-color=rgb(255,0,0)
text-colorColor of card's texttext-color=rgb(255,255,255)

Optional Card Customization - Detailed

This gives detailed documentation on the different named arguments that may be used to customize cards.

Card Section

A card's section determines how it is grouped when you switch into "Context Mode." You can configure a card's section by adding the named argument section="Section Name" to the end of a card anchor's line.

For example, to create a card with the title "Card A" and put it into the "Intro" section, write:

# @card title="Card A" section="Intro"
# @doc Sample content

In flow mode, this card appears normal:


In context mode, this card appears in the section "Intro"


Card Side Color

You can customize the left border color of a card by adding the named argument side-color=rgb(255,0,0). This side color is used to visually group cards while in flow mode.

For example, to create a card with the title "Card A" and a red side color, write:

# @card title="Card A" side-color=rgb(255,0,0)
# @doc Sample content

Card Text Color

You can customize a card's text color by adding the named argument text-color=rgb(255,0,0).

# @card title="Card A" text-color=rgb(255,0,0)
# @doc Sample content

Card Background Color

You can customize a card's background color by adding the named argument bg-color=rgb(255,0,0).

# @card title="Card A" bg-color=rgb(255,0,0)
# @doc Sample content