Skip to content

v2.72.0 - Line spacing and Empty trash

Latest

Choose a tag to compare

@github-actions github-actions released this 04 Nov 15:30
· 9 commits to main since this release
b1d997d

This week's requests: a line spacing setting for the editor and Preview, an Empty trash button, an optional automatic clean-up of the trash, and PDF exports in the font you chose. The caret no longer flicks when the keyboard comes up, a new note's file name now follows the title you finish writing when Keep file names is on, and # inside code is no longer read as a tag. No new permissions; notes are stored exactly as before.

Added

  • Line spacing. A new setting under Settings → Editor: Compact, Normal (the default) or Relaxed. It sets how far apart lines sit in the editor and in Preview, together with Text size. Compact puts lines about 1.4 times the text size apart and fits more of a note on the screen; Relaxed puts them about twice the text size apart. In Preview, list items and paragraphs move closer together or further apart along with the lines inside them. Nothing changes until you pick an option. Thanks to @uszymyszy for the request. (#561)
  • Empty trash. The Trash screen has an Empty trash button at the top. It asks first and says how many notes will go, then permanently deletes every note in the trash, along with their attachments and, if a sync folder is linked, their files there. Thanks to @stardomains3 for the request. (#566)
  • Delete notes from the trash automatically. A new setting, Settings → Notes → Delete from trash after: Never (the default), 1 day, 7 days or 30 days. A note is deleted forever once it has been in the trash that long, with its attachments and its file in a sync folder. While a period is set, the Trash screen says so above the notes. (#566)

Changed

  • Exported PDFs use your font. Export as PDF… now sets the note in the font chosen under Settings → Editor → Font: Serif, Monospace, or your own font file. Sans prints as before. Code keeps its monospace font. Thanks to @malekairmaroc7 for the request. (#568)

Fixed

  • The caret no longer jumps when the keyboard comes up. To scroll a tapped line above the keyboard, the editor moves the caret one character and back, and that move showed: the caret flicked forward and back each time the keyboard opened. It is now hidden for that moment, so only the line moving into view is seen. Thanks to @uszymyszy for spotting it. (#542)
  • With Keep file names on, a new note's file is named after the title you finished writing. The file is created about a second after you start typing, and Markleaf used to keep the name it got at that moment, so a pause after "Gro" left a note titled "Groceries" in Gro.md. While you write a new note for the first time, its file name now follows the title. From the next time you open the note, the name stays as it is. (#429)
  • # inside code is no longer a tag. A line like #include <stdio.h> in a code block, or `#fff` in inline code, used to add a tag called include or fff to the note. Code blocks (fenced with ``` or ~~~) and inline code are now skipped when tags are read, as they are when the editor colours code. (#262)
  • TalkBack reads the widget colour presets as choices. In Settings → Appearance → Widget color → Custom, each preset swatch was announced only by its hex code. It is now a radio button that says whether it is the current colour, and the current one has a thicker ring on screen too. (#262)
  • Exporting a note with a very large image no longer fails. A small image file can still be huge in pixels: a plain 10,000 × 10,000 PNG compresses to a few kilobytes. Export as PDF… used to put such a file into the page as it was, and printing could fail while drawing it. Images wider or taller than 2048 pixels are now scaled down first, like large photos already were. (#262)
  • Settings says when your snippet buttons couldn't be read. If the stored list is damaged, or was saved by a newer version of Markleaf, the row above the keyboard shows no snippets. Settings → Editor → Snippet buttons used to show an empty list as if you had none, and the next snippet you added replaced the old ones without a word. It now says the saved list couldn't be read before you change anything. (#262)

Limits

  • Automatic deletion is checked when you open Markleaf or return to it, at most once a minute, not in the background, so a note can stay in the trash past its period until the app is next opened. A note in the trash with no recorded deletion time is never deleted automatically.
  • Line spacing leaves code blocks, tables and the space around headings as they are. Like Text size, it doesn't apply to home-screen widgets or to files opened with Open file….
  • A tag that appeared only inside code leaves a note when that note is next saved or imported. Until then it can still show in the tag list, and picking it lists no notes.