pymarkdown
pymarkdown copied to clipboard
https://github.com/jackdewinter/pymarkdown/issues/1352
https://github.com/jackdewinter/pymarkdown/issues/1352
Summary by Sourcery
This pull request addresses parsing and rehydration issues related to fenced code blocks within nested block quotes and lists. It includes new test cases, code enhancements, and updates to the CI workflow to publish to TestPyPI.
Bug Fixes:
- Fixed parsing and rehydration issues related to fenced code blocks within nested block quotes and lists, as a precursor to fixing the Md031 rule.
Enhancements:
- Improved the handling of leading spaces for list tokens within nested block quotes to address rehydration issues.
Build:
- Updated the version of pre-commit-shfmt in .pre-commit-config.yaml.
CI:
- Configured the CI workflow to publish the Python package to TestPyPI.
Documentation:
- Updated the changelog to reflect the bug fixes and enhancements.
Tests:
- Added new test cases to cover the scenario of fenced code blocks within nested block quotes and lists.
- Enabled debug mode for specific tests to aid in debugging.
Chores:
- Removed commented-out code and unnecessary comments from the test file.