Repository navigation
1.21.0
·
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.noteInfois now a reserved name in scripts, like the other globals: a script that declares its ownconst noteInfofails to start with a message naming it. - Script views:
Cardtakescoverandlarge;Imageand<img src>insideHtmlresolve a file by link name (poster.jpg) as well as by path;Rowgainedjustify(alignstill 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 toImageand 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