Demo content from demo/user-guide (9fc5c59)

This commit is contained in:
f451-admin 2026-10-06 21:38:33 +02:00
parent 8e81c049ce
commit 925b03292a

View file

@ -1,7 +1,7 @@
--- ---
id: editor-reference id: editor-reference
title: Editor reference title: Editor reference
description: Formatting, wikilinks, callouts, images and diagrams in the editor. description: Formatting, wikilinks, callouts, footnotes, images and diagrams in the editor.
tags: [guide, editor, reference] tags: [guide, editor, reference]
lang: en lang: en
--- ---
@ -60,6 +60,44 @@ Callouts are GitHub-style alert blocks, available for **Note**, **Tip**,
> A risk to be aware of before proceeding. > A risk to be aware of before proceeding.
``` ```
## Footnotes and margin notes
Footnotes are standard GitHub-flavoured Markdown. Put a reference in the
text and the definition anywhere in the page, usually at the end:
```
Kernel updates need a reboot.[^reboot]
[^reboot]: Live patching covers security fixes only, not new features.
```
The label can be a number or a word; the page numbers the notes in the order
of their first reference. A definition with more than one paragraph indents
the following paragraphs by four spaces:
```
[^rollback]: Keep the previous kernel installed.
The boot menu lists it as a fallback entry.
```
Where the note appears depends on the theme:
- **Margin note** (Editorial, Fokus, Klar & Warm): the note sits in the margin
next to the paragraph with its first reference.
- **Footnote list** (System / Raster, Werkbank, Rotecodefraktion): the notes
form a list at the end of the page.
A note whose definition has more than one paragraph, or contains a list or a
code block, always goes to the list at the end of the page. In a narrow
column, and on the phone, a margin note sits below its paragraph instead.
The number in the text jumps to the note; the number at the note jumps back.
> [!NOTE]
> The editor opens a page with footnotes in **Markdown** mode only; the
> WYSIWYG mode does not support footnotes yet. The review diff shows them as
> numbers and note blocks.
## Images ## Images
**Insert image or file** (or the slash menu's **Image/File** entry) **Insert image or file** (or the slash menu's **Image/File** entry)