Skip to content

Inkline 0.9.4

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 15 Nov 16:11
Immutable release. Only release title and notes can be modified.
9276f92

This is the third release candidate of 1.0.0: a build meant to become 1.0.0 with
only its version number and documents changed, for its last checks. The owner is
asked to try it in
their test request.

0.9.3 did not become 1.0.0: the owner's pass on it
(#212) asked for symbols
to stand on the text's baseline, space between the library's rows, one Quick
edit for a symbol's name, readings, and translations, and a double-click that
opens a symbol in the editor. They are all here, with the fixes found since. The
file format is unchanged, so symbols and drafts from 0.9.2 and 0.9.3 open as
they did.

Added

  • Double-clicking a symbol opens it in the editor, as Edit symbol does, in
    Live Preview, a table in Live Preview, a canvas card or note that is not
    focused, and a canvas text card's own editor
    (#264). Obsidian's
    image viewer no longer opens on the second click there, nor does the canvas
    card open its text, and the first click does what it did before. In Reading
    view, embedded notes, hover previews, and a focused canvas card, a click opens
    the image viewer as before, so right-click a symbol there for Edit symbol.
  • Each release now carries a copy of the
    file format's
    specification as of that release, named by the format's version and the
    document's revision: inkline-file-format-version-1-revision-1.md. It is
    listed in SHA256SUMS and attested like the other files, so that what symbol
    files hold stays described wherever a release is kept. Installing does not
    need it: the install ZIP and the three plugin files are as before.

Changed

  • In the library, Quick edit takes the place of Rename and the button
    with the translation icon. It opens a symbol's name, readings, and
    translations together in its row, and one Save writes the readings and
    translations and then renames the symbol, with links following as before. A
    name that would be refused is refused before anything is written. If one part
    fails, the row says which, keeps everything you typed, and Save tries
    again what is left. The count of notes that use a symbol is now the Uses
    (2)
    button, which lists them as before
    (#263).
  • Inkline's description in Obsidian's list of plugins now says what it is for:
    "Draw symbols that no font has, then write with them inline in your notes like
    characters. Each one is saved as a plain PNG image." The README, the guide's
    home page, and the directory listing say the same in more words: Inkline is
    for writing notes in a script that no font has, whether you are working it out
    from a game or making it up for a language of your own, by writing a symbol
    down easily and using it again easily.
  • The README and the guide describe a symbol's readings and translations as the
    place for how it is read and what it means, which can be edited without
    changing a note, and say that the list of symbols finds one by them as well as
    by its name.
  • The README and the guide call the characters that open the list of symbols the
    insert trigger, as its setting does, and give ;; as its default, since the
    setting can change it.
  • The README, the guide, and the directory listing say that a symbol takes the
    size and colour of the text around it by default, since the settings can
    change both. The guide's home page and the listing no longer list what Inkline
    is not, and Known limits no longer says what Inkline "does not do yet", or
    heads its general limits "Not there yet". These four changes, from Inkline's
    description to this one, change only text, not how Inkline works.

Fixed

  • The ;; list follows Reading view in more places when it tells code from
    text, so that it neither opens in code nor stays closed in text there:

    • Inline code starts and ends where Reading view finds it. A backtick inside a
      wiki link, a link's address, a %% comment, math, a web address, or an HTML
      tag starts none, and inline code inside emphasis, strikethrough, a
      highlight, a link's text, or square brackets ends where they do: in
      **`a** b` nothing is code, while **`code`** is code
      (#243).
    • A tab after a quote's >, or after a list item's marker and a space, makes
      the line indented code, unless it goes on in a paragraph; spaces before a
      tab do not (#249).
    • A line without > stays in its quote after a heading, a code block, a
      table, or a > alone, as it does after a paragraph, unless it starts a
      block that ends the quote
      (#250).
    • %% comment and $$ math blocks, link reference definitions, task boxes,
      headings underlined with ===, the line after an empty list item, and the
      end of a table are read as Reading view reads them.
    • The list lists nothing in a block of HTML, where an embed shows as text and
      code, as in <pre><code>, cannot be told from text, nor in a paragraph too
      long to read in time, such as one of a thousand brackets that nothing
      closes. After a <code> or <pre> tag, in any form, <code/> included, it
      lists nothing until the note closes it with </code> or </pre>, over
      blank lines and other blocks too. A closing tag counts only where the
      browser reads it as one: not inside an HTML comment, a quoted attribute, a
      <textarea> or <style>, a table's cell, or a footnote, and not past eight
      or more nested blocks. It lists nothing inside an HTML tag or comment, a
      %% comment, or inline math, where an embed shows nothing, nor in a
      <textarea>'s text, and nothing in the rest of a note after a comment, tag,
      or quote that a block of HTML leaves open, or after a <script>, an
      <svg>, or a <math>.

    A few rare notes are still read otherwise
    (#271).

  • A symbol stands on the baseline of the text beside it wherever it falls in the
    line, and the symbols of a line line up with each other
    (#261). Before, by
    where it fell, a symbol's ink could sit three quarters of a pixel higher than
    the letters beside it in Obsidian's default 16-pixel text, so that two copies
    of one symbol in a line could differ; now it stands exactly on their baseline
    there. At some other text sizes, Symbol sizes, and zoom levels it can still
    stand off the letters, as the text and the symbols are each drawn on whole
    pixels of the screen: up to about a pixel at 100% zoom, and at other zoom
    levels up to 1.75 pixels in Obsidian 1.13.4 and 1.00 in 1.15.1. The symbols of
    a line stand within half a pixel of each other at 100% zoom, and within a
    pixel at other zoom levels. Symbols shown in their stored colour were not
    affected.

  • A symbol with a size written into its embed, such as ![[wide.ink.png|1000]],
    that is wider than the space it is shown in stays on the baseline when
    Obsidian shrinks it to fit, in notes, tables, hover previews and exported PDFs
    (#245). Before, it sat
    a few pixels below it: 7.5 pixels in a hover preview.

  • Turning Inkline off while Obsidian is still renaming a symbol you have just
    saved, as while it asks whether to update links, no longer leaves a draft that
    the editor offers back though the file holds the drawing. A stroke drawn after
    that save is offered back under the symbol's new name, with the picture it was
    drawn over, where it used to stay in a draft that nothing offered
    (#247). Opening a
    symbol now drops, without asking, a draft that would bring back nothing its
    file lacks.

  • The library's rows have space between them, so that the line of readings and
    translations under a row no longer reads as part of the row below it
    (#262).

  • Resting the pointer over empty space in the library's list, or over a row's
    readings and translations, no longer shows a "Symbols" tooltip at the bottom
    of the list. Screen readers still hear the list's name
    (#262).

  • A save no longer writes over a file that another plugin or a sync tool,
    working through Obsidian, put at a symbol's path in its place while the save
    looked at the symbol for the last time. Obsidian reads and writes the vault's
    files one after another, so what was asked of it during that look came before
    the save's write. A save now waits for it and looks again: the library refuses
    a symbol that has gone, and the editor asks about a file that changed. On a
    disk still busy after three such looks, or in a version of Obsidian that keeps
    its line where Inkline cannot see it, a save writes as before, as
    Known limits
    says. A save that finds its file gone once it has written says so, and keeps
    what was drawn or typed
    (#280).

  • In a right-to-left interface, as Obsidian's in Hebrew, a symbol's picture in
    the insert trigger's list, Insert existing symbol, Copy from, and the library
    starts at the right of its column, as the mirrored row has it, rather than at
    the left. Inkline's English in the editor and its Help and in the library
    keeps its full stops and ellipses where English puts them: "Choose picture…"
    no longer shows as "…Choose picture"
    (#256). Notices and
    tooltips still move them, as Known limits says.