Repository navigation
Markie 0.5.4
The Library keeps up on its own: a document synced from another machine appears without reopening the panel, a rename shows everywhere at once, and opening a synced document no longer pushes it behind your back. Pictures open in a lightbox and resize by their corner, a video link becomes a card, and exports keep your formatting.
Added
Double-click a picture to see it full size. It opens over the document,
as large as the window allows, and the left and right arrow keys walk every
picture in the document. Escape closes it and puts the keyboard back where it
was; a click on the picture itself toggles actual size, for the screenshot
you opened to read rather than admire. In a read-only document a single click
does the same. Clips are left to their own controls and full-screen button.
Drag a corner to resize a picture or a clip. Click one in the document and
handles appear on its corners; drag and it follows, shape kept. The width is
written to the file as <img src="shot.png" width="240">, the one form
every markdown renderer, GitHub included, draws at that size. A picture nobody
resized stays  exactly as it was. Exports, PDFs and shared
pages honour the width.
A YouTube or Vimeo link alone on its line becomes a card. The thumbnail,
the title and a play button; the video itself loads only when you click, from
YouTube's cookie-free player, so a document with six videos in it does not
open six of them to be read. The file keeps the bare address and nothing
else, so it still opens anywhere as a link. Exports and shared pages show the
thumbnail, linked to the video. A link inside a sentence stays a link. Press
Enter after typing an address and the card appears there and then.
Agents writing for Markie are told what Markie draws. Connecting an agent
now hands it what Markie actually renders: how a picture, a clip or a
recording is written, how to size one, how to centre a line, what a video
address alone on a line turns into, where those files have to sit to display
at all, and which formatting comes back after a save. The failure it removes
had no symptom. An agent that saved a screenshot to a temp folder and linked
to it produced a report with a hole in it, and nothing anywhere said why.
There is a new check too, markie_check_md, which reads a finished document
back and names every picture, link and tag in it that will not show up where
you expect it.
Fixed
A document synced from another machine now shows up in the Library on
its own. The Library only ever asked the server for the account's list
when it opened, so a file synced on the laptop never appeared on the desktop
until the panel was closed and reopened. The app already looked at the
server once a minute and whenever the window came back; that look now
refreshes the Library too, and runs with no document open. A cloud list that
fails to load (an expired sign-in, being offline) now says so beside the
local rows instead of looking like an empty cloud.
Opening a synced document no longer pushes it to the cloud on its own.
The rich pane took an update event the editor raises while applying the
document's role for an edit, so every document was autosaved and pushed the
moment it opened. The push carried the version this machine last saw, and
when another machine had moved the document on the row came back "conflict"
and the strip asked to review changes nobody had made. Only an update that
changed the document counts as an edit now. And when a real push is refused
for a stale version, the strip asks the server again straight away, so it
offers a review rather than a one-click Update over your own changes.
Renaming a file updates the Library, Browse and Projects straight away.
The row kept the old name until you went somewhere else and came back, and
the file's star, project pin and extracted metadata stayed behind at the old
path. A rename now moves all of them, and patches the markdown index instead
of waiting for the next five-minute walk of the disk.
Centring a paragraph or heading now reaches the file. It showed on screen
and was gone on the next open, with nothing to say so. An aligned block is
written as <p style="text-align: center;">…</p>, which every renderer
understands, and read back the same way.
Exports, PDFs and shared pages keep your formatting. A highlight, an
underline, a colour, a font, a centred heading, a resized picture: all of
these are written as the small inline HTML every markdown renderer accepts,
and until now the export renderer dropped every one of them, contents
included. It now renders them, and still refuses anything that could run or
frame another page: scripts, iframes, style blocks, event handlers and
javascript: links never reach an export or a shared page, however they are
written.
Words typed right after a picture no longer land on the picture's line
when that part of the document is rewritten.
Changed
Markie's home is markiedocs.com. Download links, shared links and the
manifest name it. Every old markie.zvndev.com link redirects there, so
nothing you have sent stops working.