Update editor, workspace, Git services, appearance, and project guides
This commit is contained in:
@@ -0,0 +1,86 @@
|
||||
# Images, diagrams, and tables
|
||||
|
||||
[User guide](../user-guide.md) · [Terminal guide](terminal.md)
|
||||
|
||||
## Insert and edit images
|
||||
|
||||
Drag a workspace image from the navigator into a Markdown editor to insert a
|
||||
relative link to the existing file. An “Insert image” hint marks the editor.
|
||||
Escape cancels the drag. Dropping files from the system file explorer or pasting
|
||||
images copies them into `attachments/` with unique filenames. Undo removes the
|
||||
inserted links while keeping the image files.
|
||||
|
||||
In Writer, image Markdown stays hidden until you choose **Edit image source**. The image remains visible while you edit. Hide it again with the same button,
|
||||
Escape, or by moving the cursor away. Click an image to select it, then
|
||||
right-click or press Shift+F10 for copy image, copy Markdown, swap image, remove
|
||||
image, zoom, edit source, open in a new tab, copy path, and show in Explorer.
|
||||
Remove image or Delete removes only that embed from the note and supports undo.
|
||||
Zoom supports fit, magnification and Escape to close, including in Split and Read.
|
||||
|
||||
## Edit table contents
|
||||
|
||||
Tables keep readable column widths and render `<br>` as cell line breaks.
|
||||
Hover beside a table's right edge to add a column, or below its bottom edge to
|
||||
add a row. Clicking a cell edits its contents. Wide tables scroll within the document.
|
||||
|
||||
### Move rows or columns
|
||||
|
||||
Grips appear on hover or keyboard focus above columns and beside body rows.
|
||||
Drag a grip to reorder: a preview follows the pointer, the source row/column
|
||||
stays highlighted, and a line marks the drop position. Drag near an edge
|
||||
to scroll, or press Escape to cancel. Focus a grip and use arrow keys to move it.
|
||||
Row moves keep the Markdown header fixed. Columns carry their alignment with them.
|
||||
|
||||
### Select, copy, or format cells
|
||||
|
||||
Drag across cells or Shift+click to select a rectangle, then right-click for
|
||||
cut/copy/paste, bold, italic, strikethrough, highlight, code, math, comment,
|
||||
clear formatting, alignment, clear cells, and delete cells. Clipboard shortcuts,
|
||||
Ctrl+B/I, Shift+arrow selection, and undo/redo work on the selected cells.
|
||||
TSV or Markdown tables paste as a grid and expand the table when needed.
|
||||
Alignment applies to selected columns, as required by Markdown. Clear empties
|
||||
contents; Delete removes complete selected rows/columns, or shifts a partial
|
||||
selection left. Math stores inline `$…$` syntax. Comments use `%%…%%` and are
|
||||
hidden in Read mode. Each operation can be undone in one step.
|
||||
|
||||
### Work with text inside a cell
|
||||
|
||||
Right-clicking text within a cell preserves the selected words and offers note
|
||||
links, external links, workspace search, extraction to a new note, formatting,
|
||||
rich/plain-text paste, and Select all. Extraction saves the selected Markdown
|
||||
in a new file and replaces the selection with a note link. Undo restores the
|
||||
original text without deleting the new note. Row and Column submenus insert,
|
||||
move, duplicate, and delete at the clicked cell. Column moves keep alignment. Sorting is stable and natural (2 before 10), leaves blanks last, and keeps the
|
||||
header fixed. Context-menu actions and table edge buttons have matching icons.
|
||||
|
||||
## Calculate with Table formulas
|
||||
|
||||
Install and enable the optional Table formulas plugin before using these calculations.
|
||||
|
||||
Table formulas start with `=`: for example, `=B2+C2`, `=AVERAGE(B2:C2)`,
|
||||
`=SUM(B2:B10)`, or `=ROUND(B2/3, 2)`. Columns use A, B, …, AA. Row 1 is
|
||||
the header, so the first data row is 2. References stay inside the current table.
|
||||
Arithmetic supports `+`, `-`, `*`, `/`, `^`, parentheses, and postfix `%`.
|
||||
Functions include SUM, AVERAGE, MIN, MAX, COUNT, ABS, and ROUND.
|
||||
Separate function arguments with commas: `=AVERAGE(B2,C2)` averages two cells.
|
||||
A colon selects a range: `=AVERAGE(B2:C2)`.
|
||||
|
||||
Aggregates ignore text and blank cells. Arithmetic treats blank cells as zero.
|
||||
Results recalculate in Writer, Split, and Read. Click a result to edit its
|
||||
formula; Enter commits it and Tab moves to the next cell. The Formulas control
|
||||
below each table explains the syntax, and the active cell shows its address.
|
||||
Invalid formulas, missing cells, and circular references display error labels.
|
||||
|
||||
Markdown stores the formula itself, so other apps display readable source.
|
||||
Use code formatting or `\=` to keep formula-like text literal. References are
|
||||
positional: copying, inserting, deleting, sorting, or moving cells does not
|
||||
rewrite addresses. Cross-table references and automatic fill are not supported.
|
||||
|
||||
## Read diagrams and document properties
|
||||
|
||||
The reader uses a Markdown parser for paragraphs, nested lists, tables, tasks,
|
||||
code blocks and reference images. Frontmatter sits in a collapsed Properties
|
||||
section. Wiki links, note callouts and locally rendered Mermaid diagrams are
|
||||
supported in Writer, Split and Read. Diagram source remains available to copy. Invalid diagrams show a message and their source. Toolbar icons show tooltips
|
||||
on hover or keyboard focus; Split view stacks vertically in narrow panes.
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
# Terminal guide
|
||||
|
||||
[User guide](../user-guide.md) · [Install a plugin](../plugins.md#install-a-plugin)
|
||||
|
||||
Install and enable the Terminal plugin to use these controls. The shell runtime must exist on your computer.
|
||||
|
||||
## Open and arrange terminals
|
||||
|
||||
Ctrl+` or Ctrl+J shows or hides the terminal, preserving sessions and scrollback.
|
||||
New Terminal (Ctrl+Shift+`) creates an independent shell; Split (Ctrl+Shift+5)
|
||||
adds a resizable pane in the active group and inherits its current directory/profile.
|
||||
The terminal list appears only when multiple sessions exist. Kill terminates a
|
||||
session; Delete does the same while a terminal-list entry has focus. Maximize
|
||||
and Restore change the panel size without restarting shells.
|
||||
|
||||
## Choose a shell and its settings
|
||||
|
||||
The dropdown immediately beside New Terminal offers installed PowerShell,
|
||||
PowerShell 7, Git Bash, Command Prompt, and Bash profiles, a default-profile
|
||||
picker, terminal settings, tasks, and separate terminal windows
|
||||
(Ctrl+Shift+Alt+`). Font size, scrollback, cursor blinking, and default profile
|
||||
persist locally. New terminals inherit the app environment, including PATH.
|
||||
|
||||
## Run scripts and navigate commands
|
||||
|
||||
More terminal actions clears scrollback, runs selected editor text, or saves
|
||||
and runs the active script. Supported runners include Python, JavaScript,
|
||||
PowerShell, Bash, Ruby, Windows batch files, and executables. Their runtimes
|
||||
must be installed. Recent-command (Ctrl+Alt+R) and directory (Ctrl+G) pickers
|
||||
work while the terminal is focused. Ctrl+Up/Down navigates prompt markers.
|
||||
History is kept in memory for the current dock; PowerShell/Bash report commands
|
||||
after completion, while Command Prompt captures submitted text at its prompt.
|
||||
|
||||
## Configure workspace tasks
|
||||
|
||||
Configure Tasks creates/opens `.runestone/tasks.json`. Its `tasks` array contains
|
||||
objects with `label`, `command`, and an optional `profile` ID (`powershell`,
|
||||
`pwsh`, `git-bash`, `cmd`, or `bash`). Run Task starts the chosen command in its
|
||||
own terminal at the workspace root. Tasks run only when explicitly selected.
|
||||
|
||||
## Use debugging and dictation tools
|
||||
|
||||
JavaScript Debug Terminal starts a Node.js REPL with a local inspector on an
|
||||
available port. Attach an external debugger using the printed address.
|
||||
RuneStone does not provide VS Code's debugger or automatic debug attachment.
|
||||
Start Dictation invokes Windows voice typing (Win+H) in the focused terminal;
|
||||
Windows microphone/voice-typing configuration is required. Other platforms
|
||||
use their operating system's dictation shortcut.
|
||||
|
||||
## Close detached terminals
|
||||
|
||||
Closing a detached terminal window terminates its sessions. Switching workspace
|
||||
closes detached terminal windows and ends the old workspace's sessions.
|
||||
|
||||
@@ -0,0 +1,71 @@
|
||||
# Appearance and custom themes
|
||||
|
||||
[User guide](../user-guide.md) · [Interface design](../ui-design.md)
|
||||
|
||||
Open Settings → Appearance to choose RuneStone, Claude, Sakura, or an installed custom theme.
|
||||
RuneStone and Claude offer light and dark appearances. Sakura uses light only.
|
||||
Claude uses local Lora and Poppins fonts, with Georgia and Arial fallbacks. It does not download fonts.
|
||||
|
||||
## Create a theme
|
||||
|
||||
1. Choose Export theme template.
|
||||
2. Edit the saved JSON file in a text editor.
|
||||
3. Choose Install theme and select the file.
|
||||
|
||||
The file must be smaller than 64 KiB. Both `light` and `dark` need `bg`, `text`, and `accent` colors.
|
||||
Use hexadecimal colors with 3, 4, 6, or 8 digits. The example supplies complete surface and text colors for both modes.
|
||||
|
||||
```json
|
||||
{
|
||||
"schema": 1,
|
||||
"id": "harbor",
|
||||
"name": "Harbor",
|
||||
"light": {
|
||||
"bg": "#f3f6f8",
|
||||
"bg-elevated": "#ffffff",
|
||||
"bg-active": "#dfe9ef",
|
||||
"border": "#bccdd8",
|
||||
"text": "#223344",
|
||||
"text-dim": "#526778",
|
||||
"text-strong": "#102536",
|
||||
"accent": "#14658f",
|
||||
"selection": "#b5d9ef"
|
||||
},
|
||||
"dark": {
|
||||
"bg": "#14232e",
|
||||
"bg-elevated": "#1b2d3b",
|
||||
"bg-active": "#294354",
|
||||
"border": "#405b6d",
|
||||
"text": "#e0eaf0",
|
||||
"text-dim": "#a3bac8",
|
||||
"text-strong": "#f5fafc",
|
||||
"accent": "#81c8ed",
|
||||
"selection": "#315d77"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
The ID starts with a lowercase letter and permits lowercase letters, numbers, and hyphens, up to 64 characters.
|
||||
The visible name permits up to 80 characters. Reinstalling the same ID replaces that theme's colors.
|
||||
Unknown color keys or invalid values stop installation with an error.
|
||||
|
||||
## Available colors
|
||||
|
||||
| Keys | Use |
|
||||
| --- | --- |
|
||||
| `bg`, `bg-elevated`, `bg-active`, `border` | Surfaces, selected controls, and boundaries |
|
||||
| `text`, `text-dim`, `text-strong` | Normal, secondary, and prominent text |
|
||||
| `accent`, `accent-2`, `selection` | Links, accents, and editor selection |
|
||||
| `error`, `warn`, `warn-hot`, `ok`, `special` | Messages and syntax colors |
|
||||
|
||||
Omitted optional colors use the RuneStone defaults for that appearance.
|
||||
The theme file contains color values, without scripts, style rules, or plugin code.
|
||||
|
||||
## Share or remove a theme
|
||||
|
||||
With a custom theme selected, Export theme template saves its current definition.
|
||||
Share that JSON file with another user, who can install it through Appearance.
|
||||
Remove custom theme removes the selected definition and returns to RuneStone colors.
|
||||
Themes stay in this device's application preferences and apply across workspaces.
|
||||
|
||||
Check normal text, secondary text, links, focus indicators, and selections in both appearances before sharing a theme.
|
||||
Reference in New Issue
Block a user