new functions and fixes

This commit is contained in:
Mateusz Gruszczyński
2026-08-06 09:43:49 +02:00
parent 7989a873e7
commit ce368cf3fd
8 changed files with 88 additions and 24 deletions
+2 -2
View File
@@ -25,7 +25,7 @@ The script creates `data/db` and `data/files`, refreshes the generated browser l
- Markdown and Mermaid diagram rendering.
- History with snippets, previews, and version restore.
- Alert blocks: `success`, `info`, `warning`, and `danger`.
- Table of contents generated with `[TOC]`.
- Table of contents generated with `[TOC]`, using headings after the marker and nesting them by level.
- Optional line numbers in fenced code blocks.
## Fenced code blocks and language aliases
@@ -82,7 +82,7 @@ In Docker, both directories are located under `/data`.
## Publishing a note as a page
Use the **Page** button in the editor. RustPad creates a permanent public `/s/<token>` URL, copies it to the clipboard, and opens it in a new tab. The page displays the current note and renders Markdown, images, video players, YouTube embeds, links, and Mermaid diagrams.
Use the **Page** button in the editor. RustPad creates a permanent public `/s/<token>` URL, copies it to the clipboard, and opens it in a new tab. The page displays the current note and renders Markdown, images, video players, YouTube embeds, links, and Mermaid diagrams. Its header can toggle source line numbers and expand the document to the full browser width.
Publishing a protected note requires its password, but the generated public page itself is accessible without that password.