Layout and printing
Card sheets
Print spells, items and abilities as cards your players keep in front of them.
The file
A card sheet is a markdown file with type: card-sheet and one link per card. Dunjii prints each card at 2.48 × 3.46 in, a millimeter under a poker card, so a cut card fits a standard sleeve.
---type: card-sheetMakes this file a card sheet.---## CantripsStarts a group. The heading takes the space of one card.- [[Fire Bolt]]One link, one card. A link can point at your own spell or at a Sourcebook page.- [[Sacred Flame]] ## 1st level- [[Magic Missile]]- [[Shield]]If you've written a wikilink that references a sourcebook item, the next sync will rewrite it to the actual sourcebook location.
For example, [[Fireball]] would be rewritten to [Fireball](https://dunjii.com/sourcebooks/dnd-srd-5.2.1/Spells/Fireball). It's not as pretty, but more practical for third party markdown renderers.

Make one
- Select the spells in the sidebar. Shift-click to add a range.
- Right-click the selection and choose Create card sheet from 3 cards…. The number matches your selection.
- Type a name. Dunjii puts the sheet in the folder you have open.
Search (⌘K on a Mac, Ctrl+K elsewhere) offers the same action when you pick spells there.

What goes on a card
Each card comes from its spell's own file. The frontmatter fills the boxes at the top and the lines around the text.
---type: spelllevel: 2school: EvocationLevel and school make the line at the bottom right.casting-time: Actionrange: 60 feetcomponents: [V, S, M]duration: 1 minuteThese four fill the boxes at the top.materials: a mixture of flower petalsThe italic line under the boxes.classes: [Forest Mage]The line at the bottom left.--- # Floral EruptionThe card's title. Choose a point within range; intoxicating flowers violently burst forth. Each creature in a 10-foot-radius Sphere centered there makes a CON saving throw. On failure, they take 2d6 damage and have the Incapacitated condition and a Speed of 0. If they succeed, they only take the damage.A spell whose text runs too long for the card can carry a ## Card Description section with a shorter version. The card prints that section in place of the full text. Items and abilities have card layouts of their own.
Choose a point within range; intoxicating flowers violently burst forth.
Each creature in a 10-foot-radius Sphere centered there makes a CON saving throw. On failure, they take damage and have the Incapacitated condition and a Speed of 0. If they succeed, they only take the damage.
Cards per page
Your margin setting decides how many cards fit across. When one more column almost fits, Dunjii shrinks the cards by up to 6% to make room, and no further.
| Margins | Letter | A4 |
|---|---|---|
| Standard | 4 | 4 |
| Compact | 6 at 97% | 9 at 94% |
| Minimum | 6 | 9 |
Settings
The sheet's document settings have a Card size control. It writes this key under print: in the sheet's frontmatter.
---type: card-sheetprint: cardScale: fit1 is Actual size, the default. fit is Fit to page: the cards shrink enough to add a row. A number from 0.65 to 1 sets the size yourself.---