Skip to content

1.21.0

Compare
Choose a tag to compare
@github-actions github-actions released this 04 Dec 01:39
· 388 commits to master since this release
7a38e20

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

  • Make Sure Quote Styles Does Not Affect Markdown or Wiki Links by @pjkaufman in #931
  • No Bare URLs Should not Include > or Chinese Characters by @pjkaufman in #937
  • Blockquote Style: Handle > in Blockquotes So They Are Not Affected by @pjkaufman in #939
  • Fix Getting First Header Not Handling # at End of Markdown Link Display Text by @pjkaufman in #942
  • Add Ability to Run Custom Commands on Folder and Vault Lint by @pjkaufman in #940
  • Update Dependencies by @pjkaufman in #946
  • Fix Newline Blockquote Recognition by @pjkaufman in #945
  • Fix: Linter break obsidian save file. by @HananoshikaYomaru in #947
  • Feat: Add Default Language for Code Fences by @magicwenli in #949
  • Fix Ignored Syntax Getting Included in Tags by @pjkaufman in #953
  • Add Rule Add Blank Line After YAML by @pjkaufman in #955
  • Update Docs and Versions for Realse by @pjkaufman in #956

New Contributors

Full Changelog: 1.20.1...1.21.0