Skip to content

MetalMD 0.2.1

Choose a tag to compare

@github-actions github-actions released this 13 Oct 12:03
· 19 commits to master since this release

What's new in 0.2.1

Task lists

  • Ticking task list items: a click on a box switches - [ ] and - [x] in the file itself, and the view is reloaded at once. Only that character changes; the encoding (UTF-8, UTF-16, legacy code pages) and the line endings stay as they were. A file that cannot be written back without other changes is left alone, and the status line says "not saved", with the reason under the pointer.
  • Ctrl+Z undoes the ticks one by one, last first, as long as the file has not been changed by another program since.

HTML

  • Folding <details>: a click on its summary opens or closes it, as in a browser, with a triangle in front of the summary. It is closed unless written <details open>, and stays as the reader left it when the file is reloaded. Find, the table of contents and links open it when they lead inside. The summary is no longer bold.

Known limitations

  • Find opens a <details> it leads into only when that <details> is not inside a list or a quote.

Что нового в 0.2.1

Списки задач

  • Отметка пунктов списка задач: щелчок по флажку переключает - [ ] и - [x] в самом файле, и вид сразу обновляется. Меняется только этот символ; кодировка (UTF-8, UTF-16, устаревшие кодовые страницы) и концы строк остаются прежними. Файл, который нельзя записать обратно без других изменений, не трогается, а в строке состояния появляется «не сохранено» с причиной во всплывающей подсказке.
  • Ctrl+Z отменяет отметки по одной, начиная с последней, пока файл не изменён другой программой.

HTML

  • Сворачивание <details>: щелчок по заголовку раскрывает или сворачивает блок, как в браузере; перед заголовком стоит треугольник. Блок свёрнут, если не записан как <details open>, и при перечитывании файла остаётся таким, каким его оставил читатель. Поиск, оглавление и ссылки раскрывают его, когда ведут внутрь. Заголовок больше не выделяется полужирным.

Известные ограничения

  • Поиск раскрывает <details>, в который ведёт, только если тот не находится внутри списка или цитаты.

Full Changelog: v0.2.0...v0.2.1