tests.test_markdown moduleΒΆ

Tests for repomatic.markdown sanitizers.

tests.test_markdown.test_demote_markdown_headings(text, expected)[source]ΒΆ

Headings are uniformly demoted so the shallowest lands on the floor.

tests.test_markdown.test_sanitize_markdown_mentions(text, expected)[source]ΒΆ

Mentions and references are broken in prose, and only in prose.