Files
RuneStone/docs/guides/document-tools.md
T
Knotty Wyvern 6e1b24e40f Keep the frames of pasted GIF, WebP, and AVIF images
A browser puts only the first frame of an image on the clipboard, with
HTML that names the image address.

- Documents and cards download the original of a GIF, WebP, or AVIF
  address. The host commands workspace_save_image_url and
  workspace_download_image read the format from the file contents and
  refuse other data. A failed download keeps the first frame and shows
  a message.
- Copy image in the RuneStone browser keeps the bytes that the page
  loaded. The engine reads them through the DevTools Protocol, so the
  website gets no second request. The new copiedImage command gives
  them in parts below the line limit of the host. A paste uses them
  first.
- An empty dropped image file shows a message. Firefox gives such a
  file when the website refuses its download.

Copy image needs a new browser engine build. Card 0d5c18f7.
2026-10-31 17:33:08 -07:00

5.9 KiB

Images, diagrams, and tables

RuneStone · User guide

This guide explains how to insert and edit images, read diagrams, edit Markdown tables, and calculate in tables.

Insert and edit images

Source Result
Drag an image from the navigator into a Markdown editor RuneStone inserts a relative link to the existing file. Press Escape to cancel the drag.
Drop an image from your system file manager, or paste an image RuneStone copies the image into the workspace attachments/ folder with a unique name, then inserts a link.
Paste an image that you copied with Copy image in the RuneStone browser RuneStone saves the original file that the page loaded. A GIF keeps its animation, also from a website that refuses downloads.
Paste a GIF, WebP, or AVIF image that you copied in another web browser That browser copies only the first frame. RuneStone downloads the original file from the image address, so the animation stays. If the website refuses the download, RuneStone saves the first frame and shows a message.

Undo removes the inserted link. It keeps the image file.

In Write, the image shows and its Markdown stays hidden. To edit the Markdown, choose Edit image source. To hide it again, choose the same button, press Escape, or move the cursor away.

Select an image, then right-click it or press Shift+F10 for these actions:

  • Copy image, Copy Markdown, Swap image…, and Remove image
  • Zoom in, Edit image source, and Open in new tab
  • Copy path and Show in Explorer, for workspace images

Remove image, or the Delete key, removes the image link from the note. It does not delete the file. Undo restores the link. Zoom works in Write, Read, and Split. It can fit the image or magnify it. Press Escape to close it.

Read diagrams and document properties

Write, Read, and Split show wiki links, note callouts, and Mermaid diagrams. RuneStone renders Mermaid diagrams locally. If a diagram is not valid, RuneStone shows an error message and the diagram source. Read shows frontmatter in a collapsed Properties section.

Edit tables

Tables keep readable column widths. A <br> in a cell shows as a line break. Wide tables scroll inside the document.

  • Select a cell to edit its contents.
  • To add a column, hover beside the right edge of the table and select +. To add a row, hover below the bottom edge.
  • Right-click a cell for the Row and Column menus. They insert, move, duplicate, delete, and sort at that cell.

Sort is stable and natural, so 2 comes before 10. Blank cells go last, and the header row stays in place.

Move rows or columns

Grips show above columns and beside body rows when you hover or focus the table.

  1. Drag a grip. A line shows the drop position.
  2. Release the grip at the new position.

To scroll, drag near an edge. To cancel, press Escape. You can also focus a grip and move it with the arrow keys. A row move keeps the header row in place. A column move keeps the column alignment.

Select, copy, and format cells

Drag across cells, or Shift+click, to select a rectangle. Shift+arrow keys extend the selection. Then right-click for these actions:

Group Actions
Clipboard Cut, copy, and paste
Format Bold, italic, strikethrough, highlight, code, math, comment, and clear formatting
Layout Alignment, clear cells, and delete cells

Ctrl+X, Ctrl+C, Ctrl+V, Ctrl+B, Ctrl+I, and undo also work on the selected cells. Undo reverts each action in one step.

  • When you paste tab-separated text or a Markdown table, RuneStone fills the cells and adds rows or columns as necessary.
  • Alignment applies to whole columns, because Markdown sets alignment per column.
  • Clear cells empties the cells. Delete cells removes complete rows or columns, or moves the remaining cells of a partial selection to the left.
  • Math uses inline $…$ syntax. A comment uses %%…%% and does not show in Read.

Work with text inside a cell

Right-click selected text in a cell for note links, external links, workspace search, formatting, and paste as rich or plain text. Extract current selection… saves the selected Markdown to a new note and replaces the selection with a link to that note. Undo restores the original text. It does not delete the new note.

Calculate with table formulas

RuneStone calculates formulas in Markdown tables. To show formulas as text, turn off Settings → General → Table formulas. The setting does not change your files.

Start a cell with = to make a formula. Columns use letters A, B, … AA. Row 1 is the header, so the first data row is row 2.

Example Result
=B2+C2 Adds two cells.
=AVERAGE(B2,C2) Averages two cells. Commas separate arguments.
=AVERAGE(B2:C2) Averages every cell from B2 through C2. A colon sets a range.
=SUM(B2:B10) Adds a range.
=ROUND(B2/3, 2) Rounds to two decimal places.
Feature Supported values
Operators +, -, *, /, ^, parentheses, and postfix %
Functions SUM, AVERAGE, MIN, MAX, COUNT, ABS, and ROUND

Functions that take a range ignore text and blank cells. Arithmetic uses zero for a blank cell. Results update in Write, Read, and Split. Select a result to edit its formula. Enter saves the formula, and Tab moves to the next cell. The Formulas control below each table explains the syntax. The active cell shows its address. A formula that is not valid, a missing cell, or a circular reference shows an error label.

The Markdown file keeps the formula text, so other apps show readable source. To keep text that starts with = as text, use code formatting or type \=.

Formula limits:

  • References stay inside the current table.
  • References are fixed positions. When you copy, insert, delete, sort, or move cells, RuneStone does not update the addresses.
  • RuneStone has no automatic fill.