Summary
Add dedicated callout types for rendering D&D spell cards and magic item cards in the standard PHB format.
Desired Syntax
> [!spell] Fireball
> *3rd-level evocation*
> **Casting Time:** 1 action
> **Range:** 150 feet
> **Components:** V, S, M (a tiny ball of bat guano and sulfur)
> **Duration:** Instantaneous
>
> A bright streak flashes from your pointing finger...
> [!item] Staff of Fire
> *Staff, very rare (requires attunement by a druid, sorcerer, warlock, or wizard)*
>
> You have resistance to fire damage while you hold this staff...
Visual Requirements
- Spell cards: compact bordered box with school of magic subtitle styling
- Item cards: rarity colour coded header, attunement note in italics
- Both: consistent with PHB visual language
Notes
Extends the existing callout transformer in renderer.ts. Needs CSS in default-theme.css.
Summary
Add dedicated callout types for rendering D&D spell cards and magic item cards in the standard PHB format.
Desired Syntax
Visual Requirements
Notes
Extends the existing callout transformer in
renderer.ts. Needs CSS indefault-theme.css.