github platers/obsidian-linter 1.21.0

latest releases: 1.27.1, 1.27.0, 1.27.0-rc-1...
11 months ago

Linter v1.21.0

This release is mostly made up of bug fixes, but it also goes ahead and adds two new rules Add Blank Line After YAML and Add Default Language for Code Fences. There is also an addition of the ability to run custom commands on folder and vault lint. Do note that this is a slow operation and may not play well with some other plugins that do not work with the sidebar.

Features

  • Add Blank Line After YAML was added for adding a blank line after the YAML frontmatter if it does not end the file and there is not already at least one blank line after it
  • Add Default Language for Code Fences was added to add a default code block language to code blocks that do not have a language set already
  • Custom Commands can now be run on folder and vault lint
    • This process is slow since it requires opening each file in the folder/vault in the sidebar tab

Bugs

  • Make Sure Quote Styles Does Not Affect Markdown or Wiki Links
  • Fixed up No Bare URLs to make sure that > and some other punctuation are not included in a URL
  • Fixed > in Blockquote Style that is not a blockquote indicator getting modified
  • Fixed getting first header not handling # at end of Markdown link display text
  • Fixed a couple of issues around inconsistencies in new line recognition for empty blockquotes
  • Fixed overwriting the save callback for Obsidian
  • Fixed tag recognition including ignored blocks

What's Changed

New Contributors

Full Changelog: 1.20.1...1.21.0

Don't miss a new obsidian-linter release

NewReleases is sending notifications on new releases.