Skip to content

v0.8.0

Choose a tag to compare

@zag zag released this 07 Jun 06:39
· 6 commits to master since this release
podlite_0 8 0-release

Podlite Desktop 0.8.0

Live =include in the Preview

=include file:X resolves on the fly. Edit an included file in another window and the host document's preview refreshes via the file watcher. Glob patterns (file:**/*.podlite | defn) expand against the document's directory.

Image Paste and Drag-Drop

Paste a clipboard image or drop a file into the editor — it lands as =picture media/<name> next to the document. Drop a file that already lives in media/ and it's referenced in place without copying.

drag-drop

=config and :numbered Render Per Spec

=config head1 :numbered and :folded defaults now apply to every matching block, including :numbered heading prefixes (1., 2.1., 2.2.). Per-block :!numbered / :!folded overrides honoured. Includes the long-standing block preconfiguration gap reported in #53.

Full Changelog

New:

  • inline image paste and drag-drop — clipboard images and dropped files save to media/ next to the document and insert =picture media/<name>
  • =include file:X resolves in the preview at render time, with mtime-keyed cache and a recursive watcher that re-renders on external edits
  • glob patterns in =include expand via depth-bounded directory walk
  • automatic numbering for :numbered headings — rendered as N.M.K. prefix; :!numbered per-block override honoured

Fixed:

  • double window on launch when opening a file from Finder or by drag-onto-icon (#57)
  • File → Open no longer replaces the currently-open document — opens the new file in a fresh window; empty untitled windows still accept the opened file in place (#56)
  • Cmd+S on an untitled document now opens the Save-As dialog instead of doing nothing (#55)
  • =picture rendering in the preview pane — absolute and relative-to-document paths both display correctly (#58)
  • external-edit reload after atomic writes (IDE autosave, sync tools) — watch the parent directory instead of the file
  • attach IPC listeners once per mount instead of every render

Spec conformance (via @podlite/* libs rebuild):

  • :folded on =head folds the whole section recursively, including headings inside =begin nested/=defn
  • =config block preconfiguration is now applied at render time — previously parsed but ignored
  • single-letter =alias identifiers accepted per spec
  • =alias no longer leaks state into the next =begin/=end block's syntax highlighting
  • =TITLE/=NAME/=SYNOPSIS/=Diagram and other semantic/custom blocks in abbreviated form recognised by the editor highlighter
  • =row, =cell, =data-table, =boundary, =set, G<>, :masked recognised in the editor highlighter (spec v2.0)

Acknowledgements

Several of this release's fixes started as a careful bug report by @schueani in #53 — thanks for the diagnosis and follow-up.

Downloads

Platform Asset
macOS (Intel + Apple Silicon) Podlite-0.8.0.dmg
Windows Podlite-Setup-0.8.0.exe
Linux Podlite-0.8.0.AppImage / Snap

Full Changelog: v0.7.2...v0.8.0