# Start here

How a Dunjii workspace is organized, and the steps from a blank page to a printed session.

## Your workspace

Your account has one workspace. Everything you write goes in it, as folders and pages in the sidebar.

- **Library** holds what you reuse across campaigns: NPCs, scenes, spells, items, portraits and battle maps, one folder for each.
- A **campaign** is a folder marked as a campaign. It holds its sessions and a page for the party.
- A **session** is a folder inside a campaign for one night of play. Its page lists the session's scenes, NPCs and maps, and how long the scenes add up to.

A new workspace is empty. **Add sample library** on the Home page creates a Library with example NPCs, scenes, spells and items to look through. See [Workspace and campaigns](https://dunjii.com/docs/organizing/workspace-and-campaigns.md), [Sessions](https://dunjii.com/docs/organizing/sessions.md) and [The Library](https://dunjii.com/docs/organizing/library.md).

![The sidebar at the top of a workspace with a Library and two campaigns.](https://dunjii.com/docs-assets/organizing/library-in-sidebar.webp)

## Pages

Every page is a markdown file. You write it in the editor, and Dunjii saves your changes every 15 seconds while you type. A page's type, such as `npc`, `scene` or `spell`, decides the sections Dunjii suggests and how the page prints.

```markdown
---
type: npc
---
# Warden Hollis
*Gatekeeper of Mistwood, tired and fair*

> [!callout]
> ### First impression
> Mud to the knees. Counts the party twice before she speaks.

Knows the bridge is out. Will say so for a silver piece.
```

- `type: npc`: Makes this page an NPC.

Type `[[` to link another page by its name. See [The editor](https://dunjii.com/docs/writing/the-editor.md), [New documents](https://dunjii.com/docs/writing/new-documents.md) and [Markdown in Dunjii](https://dunjii.com/docs/reference/markdown.md).

## Printing

Dunjii shows each page as the sheets of paper it will print on. It sets the columns, page breaks and text size, and you can change them. Print one page, or a whole session folder at once.

Spells, items and abilities print as cards, and portraits print as coins to cut out and put on the table. See [Printing](https://dunjii.com/docs/layout-and-printing/printing.md), [Page layout](https://dunjii.com/docs/layout-and-printing/page-layout.md), [Card sheets](https://dunjii.com/docs/layout-and-printing/card-sheets.md) and [Coin sheets](https://dunjii.com/docs/layout-and-printing/coin-sheets.md).

![The Print preview for one scene.](https://dunjii.com/docs-assets/layout-and-printing/print-preview.webp)

## Sharing

A page is Private until you share it. Make it Public or Secret, copy its link, and send the link to your players. They don't need an account. On the Pro plan you can also invite another GM to work in some or all of your workspace.

See [Share links](https://dunjii.com/docs/sharing/share-links.md), [What players see](https://dunjii.com/docs/sharing/what-players-see.md) and [Co-GMs](https://dunjii.com/docs/sharing/co-gms.md).

![The Share menu on a handout.](https://dunjii.com/docs-assets/sharing/share-menu.webp)

## On your computer

The Dunjii desktop app for Mac and Windows keeps a copy of your workspace in a folder on your computer and syncs it both ways. Edit the files in Obsidian or any other markdown editor, or start a coding agent in the folder. You don't need the app to use Dunjii.

See [Desktop app and sync](https://dunjii.com/docs/your-files/desktop-app.md) and [Local agents](https://dunjii.com/docs/agents/local-agents.md).
