Image support!
Some checks failed
Test / test (push) Failing after 5s
Build and Deploy Nuxt / build (push) Successful in 1m46s

This commit is contained in:
2026-11-20 19:10:28 +01:00
parent d61659cfdd
commit fe662bb351
11 changed files with 119 additions and 21 deletions

View File

@@ -36,6 +36,12 @@ the way a file explorer does. Clicking a row opens the file in a window of its o
moves into a folder like a note — drag it there, or use **Move to Folder…** in its right-click menu.
Right-clicking a media row also deletes it, file included.
A note can point at an uploaded file by its name, the same way it links to the rest of the campaign.
Write `![[harbour.png]]` and an image is drawn in the note at that spot — the picture fills the note's
width. A sound, a video or a PDF written this way is shown as a link to the file. Without the **!** the
file's name is a normal link that opens the media window when clicked: `[[harbour.png]]`. Typing `[[`
while editing offers the uploaded files in the same menu as notes, characters, items and maps.
## Markdown
Headings, **bold**, *italic*, lists, quotes, tables, code and links all work:
@@ -78,9 +84,10 @@ species, armour class, hit points, speed and ability scores, with the traits, pr
spells below. An item arrives with its icon, category, rarity, weight, properties and description.
The embedded card is part of the note in display mode, and its **Open** button opens the full sheet,
the same window the sidebar opens. Only characters and items can be embedded; a note or a map written
with the **!** stays as plain text. Name resolution works exactly like a normal link, so an embed of
an entry that has been renamed is shown dimmed.
the same window the sidebar opens. An uploaded image can be embedded the same way (`![[harbour.png]]`,
see [Images and media](#images-and-media)). A note or a map written with the **!** stays as plain text.
Name resolution works exactly like a normal link, so an embed of an entry that has been renamed is
shown dimmed.
## Rolling dice in a note