github platers/obsidian-linter 1.22.0

latest releases: 1.25.0-rc-1, 1.24.0, 1.23.3-rc-1...
6 months ago

Linter v1.22.0

This release is mostly made up of bug fixes focusing on some older bugs and trying to fix up several issues that were reported around use in Live Preview and Reading mode. This release also includes a change to Custom Commands that allows you to have it run properly with Advanced Tables since Custom Commands now run after the cache has updated for a file.

Features

  • Added the ability to make sure that there is just 1 space after the blockquote indicators even if there are multiple spaces after the blockquote indicator. This will not affect spaces before list items and checklists that are inside a blockquote.
  • Added the help url to the manifest which points to the documentation site
    • Thanks @TfTHacker !
    • If the documentation side could be made clearer, please let us know
  • Updated how Custom Commands are run to make sure that they run after the cache updates if the file is updated to make sure that custom commands that do rely on the cache have updated cache info when they run

Bugs

  • Fixed URL regex not allowing # to be in part of the ending part of the path
  • Fixed an issue with the translator helper where it was not properly mapping between some languages and their source files
  • Fixed updates in Live Preview not updating the right places in the YAML frontmatter
    • Please let us know if this is not fixed or if other issues arise in Live Preview or Reading mode
  • Fixed Custom Commands taking focus away from the currently active window and not adding it back when you have lint on active file change enabled
  • Fixed an issue where Live Preview and Reading mode frontmatter were not getting their displays updated right away once the Linter updated the file
  • Fixed Re-Index Footnotes moving the footnotes to the end of the file
    • The sorting of footnotes and moving footnotes to the end of the file is done by Move Footnotes to End of Document
  • Fixed YAML Key Sort affecting keys that were listed in priority sort order that were not base level YAML keys
    • The sort currently only works on the base level YAML keys

What's Changed

  • Make Sure Hash Midway in URL Path Works by @pjkaufman in #960
  • Refactor Translation Logic and Make It More Testable by @pjkaufman in #962
  • Make Sure Blockqoute Style Gets Rid of Multiple Spaces for Blockquote Indicators when Set to Space by @pjkaufman in #965
  • Potential Live Preview Save Issue Fix by @pjkaufman in #963
  • Add helpUrl to manifest by @TfTHacker in #970
  • Custom Commands: Wait for Cache for Lint on File Change and Lint on Save by @pjkaufman in #966
  • Refocus on Editor After Custom Commands Run by @pjkaufman in #972
  • Potential Fix for Live Preview Properties Update by @pjkaufman in #976
  • Add Support for Checklist Items and List Items for Blockquote Style by @pjkaufman in #978
  • Rework Footnote Logic by @pjkaufman in #979
  • Fix URL Regex not Matching Multiple URL Params and Update Move Footnote Description by @pjkaufman in #981
  • Fix YAML Key Sort Trying to Update Nested Keys Based on Priority Sort by @pjkaufman in #982
  • Release Prep by @pjkaufman in #983

New Contributors

Full Changelog: 1.21.0...1.22.0

Don't miss a new obsidian-linter release

NewReleases is sending notifications on new releases.