Skip to content

4.5

Choose a tag to compare

@github-actions github-actions released this 11 Jul 07:19
· 204 commits to main since this release

This is the largest release since 4.0, and the biggest feature is dual-pane mode. Dual-pane mode splits the front page
and comment section / reader mode into their own panes, which tends to look better on wide screens.

The Reader Mode engine has also been completely reworked. The result is that we are able to tweak it a lot better, which
in turn should result in better rendered articles. Articles with math and latex symbols are especially improved, and we
can even show low res images. Higher resolution images are not supported in this release, but might be available pending
support for it upstream.

Lastly, the design has been tweaked ever so slightly to make it more consistent across screens.

New features

  • On terminals 180 columns or wider, the comment section and reader mode now open in a pane next to the front page
    instead of replacing it; configure with --wide-view always, --wide-view never or --wide-view <columns>
  • Open the next (J) or previous (K) story directly from the comment section and reader mode,
    without going back to the front page

Reader Mode

  • Reader Mode now parses the DOM directly with fewer intermediary passes
    • Was: HTML → Markdown → Terminal
    • Now: DOM → Terminal
  • Added support for showing images
  • LaTeX math is converted to Unicode on MathJax-powered pages
  • Plain-text pages are now shown as-is

Design

  • Code blocks are now rendered inside an ASCII box
  • The meta block has been simplified
  • The in-memoriam indicator (x has passed away) is now a double line under the header instead
    of a black bar

Infrastructure

  • The example theme.toml is now generated from the code