Skip to content

0.9.0 — Task lists, a colour scheme for the preview

Choose a tag to compare

@feibuilds feibuilds released this 03 Dec 00:50
· 6 commits to main since this release

Task lists render as checkboxes. - [x] and - [ ] items are drawn as boxes in your colour scheme's colours, in place of the bullet as on GitHub, and numbered items keep their number. The boxes are read-only: edit the source to tick one. Contributed by @tikhomirov in #17.

The preview can have a colour scheme of its own. Set "color_scheme" in MarkdownGlance's settings to a scheme Sublime Text knows, such as "Breakers.sublime-color-scheme", to read a document in a light scheme while you edit it in a dark one. The preview, the contents panel, fenced code, Mermaid diagrams and formulas all use it. Empty, the default, follows the editor as before (ADR 0025). Requested by @a1waysbeta in #21.

Fixed:

  • Closing a Markdown file with its preview open no longer crashes Sublime Text on macOS. Closing the last Markdown file in a window, or quitting with hot_exit off, crashed build 4215 almost every time and build 4200 now and then. 0.8.0 did the same.
  • Browsing files in Goto Anything no longer breaks the preview. The file Goto Anything showed as you typed turned the preview into RuntimeError: source view is gone. The preview now shows that file, and Escape brings back the one you came from. Found while testing #18 by @tikhomirov.
  • A link clicked in the preview keeps the project's path to the file. A document reached through a symlinked folder now opens its linked documents through the same link, where the side bar can reveal them, rather than by their real path.

Thank you both.

Checked with the test harness's scenarios on build 4215 (Python 3.14) and build 4200 (Python 3.8): all of them on Linux but math, whose server now draws a picture for any input, and all but math and local SVG on macOS. Task lists were also checked on Windows 11 with build 4200. The macOS close fix held in 32 close and quit trials on macOS 27. Package Control messages remain limited to the install note.

Requires Sublime Text build 4200 or newer. Install through Package Control; see the README.

Changelog · Compare 0.8.0...0.9.0