v0.2.96
This commit is contained in:
1 parent
b15a6c54ce
commit
d36a4b2451
22 files changed
+926
-114
No files matched your search
@@ -2,6 +2,19 @@
|
||||
|
||||
RustPad is a collaborative Markdown editor with standalone notes and workspaces.
|
||||
|
||||
## Release 0.2.96 — PDF layout, inline rename and PDF tags
|
||||
|
||||
- Pressing Enter while renaming a note title no longer bubbles to the header copy-link shortcut.
|
||||
- The More menu exposes PDF page break, header, footer, align-top, and align-center directives.
|
||||
- `[PDF_PAGEBREAK]` is the canonical explicit PDF page-break tag. Legacy `[PAGEBREAK]` remains supported for existing notes.
|
||||
- PDF controls are listed near the top of **More** and the menu scrolls on short viewports.
|
||||
- Static assets use a build-content cache key while the application version remains `0.2.96`, so rebuilt patch packages do not reuse stale JS/CSS under the same semantic version.
|
||||
- Added inline note renaming from the note editor and workspace list/table; URLs and slugs remain unchanged.
|
||||
- Double-clicking the title no longer triggers the surrounding copy-link action. Successful renames show a confirmation toast; failures retain the existing error notification.
|
||||
- PDF export adds header/footer directives and vertical top/center alignment, with more stable page-break handling for headings and footers.
|
||||
- Mermaid export no longer leaves stale load-error messages next to successfully rendered diagrams, and failed library loads can be retried.
|
||||
- Translation files are revalidated instead of being cached for 24 hours, so newly added UI strings become available after deployment.
|
||||
|
||||
## Release 0.2.95 — dark PDF export
|
||||
|
||||
- PDF export now includes a dark-mode checkbox enabled by default.
|
||||
@@ -74,13 +87,22 @@ The selected interface language is stored in the browser and can be changed from
|
||||
- Mentioned users are listed below the participant/author badges with a count of matching mentions; repeated clicks jump to the next occurrence and cycle through them in editor, split, or preview views.
|
||||
- Indented fenced code blocks shift their whole preview block rather than just the code text.
|
||||
- Optional line numbers in fenced code blocks.
|
||||
- PDF export with selectable A5/A4/A3, Letter, 16:9, and 4:3 page formats; optional color/background preservation keeps syntax highlighting, alerts, quotes, highlights, and table styling; `[PAGEBREAK]` creates an explicit hard PDF page break while `---` remains a normal Markdown horizontal rule.
|
||||
- PDF export with selectable A5/A4/A3, Letter, 16:9, and 4:3 page formats; optional color/background preservation keeps syntax highlighting, alerts, quotes, highlights, and table styling; `[PDF_PAGEBREAK]` creates an explicit hard PDF page break while `---` remains a normal Markdown horizontal rule.
|
||||
|
||||
## PDF export and page breaks
|
||||
|
||||
Use the **PDF** button in the editor header to choose the page format and margins, then generate a browser-native PDF print view. The export supports A5/A4/A3, Letter, 16:9, and 4:3 layouts. Syntax highlighting, alerts, quotes, highlighted text, table headers, inline code, links, and other styled Markdown elements keep their colors and backgrounds automatically. The exporter re-applies Highlight.js to the print copy and uses print-safe light/dark palettes so code colors do not depend on the editor theme. The end of the exported document includes one subtle localized RustPad footer.
|
||||
|
||||
A Markdown line containing only `[PAGEBREAK]` creates an explicit page break during PDF export. Insert it from **More → Page break (PDF)** or with `Ctrl/Cmd+Enter`. A normal `---` remains a Markdown horizontal rule and no longer forces a new PDF page.
|
||||
A Markdown line containing only `[PDF_PAGEBREAK]` creates an explicit page break during PDF export. Existing `[PAGEBREAK]` markers remain supported for backwards compatibility. Insert it from **More → Page break (PDF)** or with `Ctrl/Cmd+Enter`. A normal `---` remains a Markdown horizontal rule and no longer forces a new PDF page.
|
||||
|
||||
PDF layout directives can reserve document-level slots and change vertical alignment:
|
||||
|
||||
- `[PDF_HEADER]` moves the next Markdown block into a header pinned to the top of the first PDF page.
|
||||
- `[PDF_FOOTER]` moves the next Markdown block into the footer aligned to the bottom of the last PDF page.
|
||||
- `[PDF_ALIGN_TOP]` keeps normal top-aligned content.
|
||||
- `[PDF_ALIGN_CENTER]` vertically centers content when the document fits on one page; multi-page documents stay top-aligned.
|
||||
|
||||
Trailing empty source lines are ignored for footer placement. Mermaid export reuses an already rendered SVG when available and removes stale preview error messages before printing.
|
||||
|
||||
## Fenced code blocks and language aliases
|
||||
|
||||
|
||||
Reference in new issue
Block a user