Skip to content

v0.0.9

Choose a tag to compare

@cellgit cellgit released this 23 Aug 07:30
· 5 commits to main since this release

Table rendering, fixed against a real device rather than a simulator at 2x.

Fixed

  • A bar inside table-cell math no longer ends the cell. GFM splits a row on
    every unescaped | before any inline rule runs, so $P(B|A)$, $|\vec{a}|$
    and $|AB| = \sqrt{\dots}$ were torn in half and both halves rendered as
    literal LaTeX. Bars inside a formula are now escaped for the table and handed
    back to KaTeX intact. Prices are untouched: | item | $100 | $200 | is still
    two cells.
  • A wide table keeps its right-hand border. iOS rounds a scroller's length
    to a whole pixel, and the sliver it rounds away is exactly where the table's
    right border sits — measured across eight table widths, four lost it.
  • A table keeps its bottom border, for the same reason one axis over. Of
    twelve sub-pixel offsets, five used to lose it.
  • Columns are sized to their contents, capped per cell. Automatic layout may
    shrink a column to its narrowest unbreakable piece; in English that is a word,
    in Chinese a single character, so a ten-column Chinese table arrived set
    vertically. Wide tables now scroll instead of collapsing, and one long cell no
    longer decides the width of the whole table.

Changed

  • A table streams in a row at a time. It used to be held back until its last
    row arrived, which on a twenty-row table is a long blank space that reads as a
    hung app. A header row is still never shown as a paragraph of pipes, and a
    finished table still lands while the paragraph above it is still being typed.

Requires iOS 17 or later.