Skip to content

1.1.0

Choose a tag to compare

@max-fluff max-fluff released this 28 Jul 15:41
· 32 commits to main since this release

Added

  • Ten more formats, every reader the plugin's own (Indexing). Word (.docx), Excel (.xlsx), PowerPoint, OpenDocument, EPUB, HTML, Markdown and text, CSV/TSV, images, audio and video now sit beside the PDF support 1.0 shipped — 11 formats over 53 extensions, with no pandoc or LibreOffice to install alongside.
  • Sections wherever a format carries an outline (Indexing). Word and HTML headings, a workbook's sheets, an EPUB's table of contents, one entry per slide, Markdown headings on their line — each indexed with its position, so @!intro finds the Introduction rather than the file holding it.
  • Office previews (Preview, Embeds). Hover a link or embed a document and the slide is drawn, the document laid out and the sheet rendered as a real table. The new Document preview shape setting lays a Word or OpenDocument preview out either as a text column that follows its content or as the whole page the file declares; the page size and margins come from the file either way.
  • Embed ranges (Embeds). report.pdf#page=3-5, or a page: 3-5 line, stacks several pages or sections in one block — up to 20. Paged and sectioned formats range; images and media render once.
  • #id anchors (Links, Embeds). guide.html#_options — the same fragment a copied HTML section link carries — resolves through the index to its section, in a link and in an embed target.
  • Recordings are positioned in time, not in pages (Embeds). time: 1:30 (or 1:02:05, or plain seconds) and clip.mp4#t=1:30, matching the timecode the header shows. Each format accepts only its own unit: page: on a recording, or time: on a paged document, is an error that names the right key instead of quietly starting from the top.
  • A section name you can still find by hand (Opening). For a format whose position cannot survive being handed to the OS, opening now copies the section name and says so, rather than landing at the top of the file with no explanation.

Changed

  • The extensions setting is a list of formats (Settings). One row per format — PDF, Word, Excel, PowerPoint, OpenDocument, e-books, web pages, text and Markdown, CSV, images, audio and video — with a count of how many extensions are on and a switch to turn on every supported one. Anything else you want indexed goes under Other extensions, found by file name only: no preview, no sections.
  • An embed header for a section now reads the section's name instead of the page it sits on.

Internal

  • Format parsing hardened across the new handlers, and the readers live in src/formats/, one module per format behind a single registry.
  • The README documents every embed key, link placeholder and the per-format table of what gives sections, previews and an external open at the position.