Organizing

Sourcebooks

Dunjii includes the rules reference for D&D, Draw Steel and Pathfinder as read-only pages you can browse, search, link to and copy into your workspace.

View as markdown

Included Sourcebooks

A Sourcebook is a set of read-only reference pages for one game. Its spells, items and monsters are laid out like your own documents, with the same cards and stat blocks. Dunjii includes three:

Sourcebook Contents On by default
D&D SRD 5.2.1 Spells, magic items, monsters and NPCs, classes, species, feats, backgrounds, equipment, rules and tables from the D&D System Reference Document 5.2.1. Yes
Draw Steel Abilities, ancestries, careers, classes, kits, monsters, perks, titles, treasures, conditions and complications. No
Pathfinder 2E Spells, feats, classes, ancestries, heritages, backgrounds, equipment, hazards, actions, conditions and rituals from Player Core, Player Core 2 and GM Core. No

Each Sourcebook you turn on has a row in the sidebar, below History. Click it to browse the book's folders, and click Back at the top of the book to return to your workspace.

Anyone can read the Sourcebooks without an account at dunjii.com/sourcebooks.

D&D SRD 5.2.1 open in the sidebar.
D&D SRD 5.2.1 open in the sidebar.

Turning Sourcebooks on and off

Go to Settings › Account › Sourcebooks. Each game has one checkbox, and the change saves as soon as you click it.

A Sourcebook that is on appears in the sidebar and in search. Turning one off removes it from both. Links to its pages keep working.

The Primary tag marks the game chosen under Primary ruleset, just above. That setting decides which document types your workspace offers, and which Sourcebook a link like [[Fireball]] goes to.

The Sourcebooks section of Settings › Account.
The Sourcebooks section of Settings › Account.

Write a wikilink with the page's name. If no document in your workspace has that name, the link goes to the Sourcebook page, and hovering it shows a preview.

His cousin opens with [[Fireball]] from the far bank.

When you save, Dunjii rewrites the link to the page's public address, so the link also works in other markdown editors:

His cousin opens with [Fireball](https://dunjii.com/sourcebooks/dnd-srd-5.2.1/Spells/Fireball) from the far bank.

Your own documents come first. If your workspace has a document named Fireball, [[Fireball]] links to it and stays a wikilink. When more than one Sourcebook has a page with that name, Dunjii uses the one for the game of the document's folder (its ruleset), then the one for your primary ruleset.

The dunjii command makes the same rewrite when it syncs.

Copying a page into your workspace

Copy a page when you want to change it: a monster with more hit points, or a spell renamed for your setting.

  1. In the Sourcebook's sidebar, right-click a page and choose Copy. Copying a folder copies every page in it.
  2. Click Back, right-click a folder in your workspace, and choose Paste. The menu item names what you copied, as in Paste Feather Fall.md here.

You can also pick Sourcebook pages in search and drag them to a folder in the sidebar. Either way the Sourcebook keeps its page and your folder gets a copy.

The copy is an ordinary document. Dunjii adds one key to its frontmatter:

---
type: spell
level: 1
school: Transmutation
attribution: 5e-srdAdded to the copy. It names the license the text came under.
---
The menu for a Sourcebook page in the sidebar.
The menu for a Sourcebook page in the sidebar.

License notices

The Sourcebooks are published under open licenses, and each license asks for a notice wherever its text appears. Dunjii prints the notice under every Sourcebook page and under every document with an attribution: key, on screen and on paper. Turning off a document's footer with footer: false leaves the notice in place. When you print several documents at once, or a card sheet with Sourcebook cards on it, each notice prints once.

attribution Sourcebook License
5e-srd D&D SRD 5.2.1 Creative Commons Attribution 4.0
draw-steel Draw Steel DRAW STEEL Creator License
pf2e-orc Pathfinder 2E ORC License

The full text of each notice is on the Credits page.

The SRD notice under a spell copied into the Library.
The SRD notice under a spell copied into the Library.