Skip to content

1.21.0

Choose a tag to compare

@github-actions github-actions released this 05 Sep 10:35
· 6480 commits to master since this release

Script views and galleries

  • Galleries render outside the editor: reading mode, notes embedded in other notes, chat replies that quote a note, and Markdown inside script views. Before, the ::abele-gallery{…}:: marker showed there as a line of text. These galleries are view-only (no add/edit/settings/delete header); editing stays in live preview.
  • Script API: noteInfo(path) — title, frontmatter, tags, created/modified, cover as a vault path, body without frontmatter, plain text, excerpt, word count. noteInfo is now a reserved name in scripts, like the other globals: a script that declares its own const noteInfo fails to start with a message naming it.
  • Script views: Card takes cover and large; Image and <img src> inside Html resolve a file by link name (poster.jpg) as well as by path; Row gained justify (align still works as a synonym). The view reference has a new "Making it look right" section and a kit-based feed example. An existing view that passed a bare file name to Image and got a broken picture will start showing it.

Commits

  • ae0c55d chore: bump version to 1.21.0
  • e0384e7 docs: tell the agent how to build a feed out of the kit instead of its own markup
  • 17219d6 feat: give a script noteInfo, a cover and heading on Card, and pictures found by link name
  • 3708268 feat: draw galleries in reading mode, embeds and script views, not only in the editor