Skip to content

v0.9.1

Choose a tag to compare

@jackdewinter jackdewinter released this 07 Oct 04:15
· 877 commits to main since this release
d6ed42f

For full release information, go to the change log.

This was a point release to make several new features and fixed issues to be released. While the full descriptions are below, here are some highlights:

  • Added documentation on how to use Git Pre-Commit hooks with PyMarkdown
  • Added support to allow PyMarkdown to be executed as a module with -m
  • Various scenario test tasks including verifying disabled rules were required

Added

  • Added
    • documentation: documentation on how to use pre-commit hooks
  • Added
    • core: support for executing pymarkdown as a module (python -m pymarkdown)
  • Added
    • rules test: verified existing case, added missing related case
  • Added
    • rules test: added new test case with provided data
    • documentation: addressed documentation issue with description for rule_md044.md
  • Added
    • rule md033: new configuration value allow_first_image_element
      • if True, allows ONLY <h1><img></h1> sequence (with any parameters needed) if is first token in document
  • Added
    • documentation: added description of how HTML comments are different
  • Added
    • core: added sorting of triggered rules before they are displayed

Changed

  • Changed
    • rules tests:verified need for --disable-rules through tests, removing any that were not needed
    • documentation: addressed some documentation issues with docs/rules.md and doc/rules/rule_md032.md

Fixed

  • Fixed
    • rule Md033: no longer triggers on end tags, adjusted default allowed tags
  • Fixed
    • rule Md023: whitespace at end of lines in SetExt Heading no longer being recognized as starting whitespace.
  • Fixed
    • rule Md032: was not recognizing 2 end list tokens in a row
  • Fixed
    • rule Md037: was not properly looking for spaces inside of possible emphasis characters
  • Fixed
    • parser: found parsing error with lists in block quotes
    • rule md031,md032: fixed that and fixed issues in rules md031 and md032
  • Fixed
    • parser: multiline inline elements with a Block Quote were not getting their starting positions calculated properly
      • any element directly after those elements were also likely to have a bad position
  • Fixed
    • parser: fixed instance of multi-level list within block quotes not firing properly
    • issues: added item to issues list to do more looking on nested lists
    • rule md007: may show up here with nested lists