rumdl 0.0.63__tar.gz → 0.0.65__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of rumdl might be problematic. Click here for more details.
- {rumdl-0.0.63 → rumdl-0.0.65}/Cargo.lock +1 -1
- {rumdl-0.0.63 → rumdl-0.0.65}/Cargo.toml +2 -2
- {rumdl-0.0.63 → rumdl-0.0.65}/PKG-INFO +8 -40
- {rumdl-0.0.63 → rumdl-0.0.65}/README.md +7 -39
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md002.md +9 -4
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md003.md +4 -2
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md005.md +4 -2
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md006.md +6 -2
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md007.md +4 -2
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md009.md +4 -2
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md010.md +4 -2
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md011.md +6 -3
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md013.md +4 -2
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md014.md +3 -2
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md018.md +4 -2
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md019.md +4 -2
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md020.md +4 -2
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md021.md +4 -2
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md022.md +3 -2
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md023.md +4 -2
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md024.md +6 -3
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md026.md +4 -2
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md027.md +4 -2
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md028.md +10 -2
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md029.md +4 -2
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md030.md +4 -2
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md031.md +13 -12
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md032.md +5 -2
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md033.md +5 -3
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md034.md +4 -2
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md035.md +5 -2
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md036.md +41 -7
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md037.md +4 -2
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md039.md +4 -2
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md040.md +4 -2
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md041.md +4 -2
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md042.md +4 -2
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md043.md +4 -2
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md044.md +4 -2
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md045.md +4 -2
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md046.md +4 -2
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md047.md +5 -4
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md048.md +4 -2
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md049.md +4 -2
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md050.md +4 -2
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md051.md +5 -2
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md052.md +3 -3
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md053.md +1 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md054.md +4 -2
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md055.md +5 -1
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md056.md +1 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md057.md +4 -14
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md058.md +1 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/lib.rs +12 -1
- {rumdl-0.0.63 → rumdl-0.0.65}/src/main.rs +9 -4
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rule.rs +164 -43
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/code_block_utils.rs +1 -4
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/heading_utils.rs +2 -1
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md004_unordered_list_style.rs +120 -174
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md011_no_reversed_links.rs +10 -5
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md013_line_length.rs +74 -7
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md022_blanks_around_headings.rs +229 -95
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md031_blanks_around_fences.rs +41 -1
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md032_blanks_around_lists.rs +367 -8
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md036_no_emphasis_only_first.rs +35 -7
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md042_no_empty_links.rs +57 -17
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md045_no_alt_text.rs +7 -6
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md051_link_fragments.rs +57 -9
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md055_table_pipe_style.rs +161 -127
- {rumdl-0.0.63 → rumdl-0.0.65}/src/utils/regex_cache.rs +1 -1
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/integration_tests.rs +1 -1
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md004_test.rs +14 -14
- rumdl-0.0.65/tests/rules/md036_test.rs +188 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md042_test.rs +6 -6
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md051_test.rs +31 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md055_test.rs +170 -0
- rumdl-0.0.63/tests/rules/md036_test.rs +0 -97
- {rumdl-0.0.63 → rumdl-0.0.65}/.rumdl.toml +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/MANIFEST.in +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/Makefile +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/assets/logo.png +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/benches/range_performance.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/benches/range_utils_benchmark.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/benches/rule_performance.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/RULES.md +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md001.md +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md004.md +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md012.md +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md025.md +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/docs/md038.md +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/issues/plan-rule-parity-with-markdownlint.md +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/parity_check.py +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/pyproject.toml +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/python/MANIFEST.in +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/python/PYTHON-README.md +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/python/rumdl/__init__.py +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/python/rumdl/__main__.py +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/python/rumdl/py.typed +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/rumdl.toml.example +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/config.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/init.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/lint_context.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/lsp/mod.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/lsp/server.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/lsp/types.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/markdownlint_config.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/profiling.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/python.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/blockquote_utils.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/code_fence_utils.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/emphasis_style.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/front_matter_utils.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/list_utils.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md001_heading_increment.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md002_first_heading_h1.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md003_heading_style.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md005_list_indent.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md006_start_bullets.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md007_ul_indent.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md009_trailing_spaces.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md010_no_hard_tabs.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md012_no_multiple_blanks.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md014_commands_show_output.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md018_no_missing_space_atx.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md019_no_multiple_space_atx.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md020_no_missing_space_closed_atx.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md021_no_multiple_space_closed_atx.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md023_heading_start_left.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md024_no_duplicate_heading.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md025_single_title.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md026_no_trailing_punctuation.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md027_multiple_spaces_blockquote.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md028_no_blanks_blockquote.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md029_ordered_list_prefix.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md030_list_marker_space.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md033_no_inline_html.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md034_no_bare_urls.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md035_hr_style.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md037_spaces_around_emphasis.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md038_no_space_in_code.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md039_no_space_in_links.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md040_fenced_code_language.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md041_first_line_heading.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md043_required_headings.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md044_proper_names.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md046_code_block_style.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md047_single_trailing_newline.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md048_code_fence_style.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md049_emphasis_style.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md050_strong_style.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md052_reference_links_images.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md053_link_image_reference_definitions.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md054_link_image_style.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md056_table_column_count.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md057_existing_relative_links.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/md058_blanks_around_tables.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/mod.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/rules/strong_style.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/utils/ast_utils.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/utils/code_block_utils.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/utils/document_structure.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/utils/early_returns.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/utils/element_cache.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/utils/markdown_elements.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/utils/mod.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/utils/range_utils.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/src/utils/string_interner.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/advanced_integration_tests.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/cli_duplication_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/cli_integration_tests.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/commonmark_compliance_tests.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/comprehensive_integration_tests.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/config_application_tests.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/config_tests.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/init_command_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/init_tests.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/json_output_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/lib.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/lsp_integration_tests.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/lsp_tests.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/markdownlint_cli_integration.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/markdownlint_config_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/md030_edge_cases.md +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/output_format_tests.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/perf_check.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/pyproject_config_tests.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md001_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md001_unicode_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md002_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md003_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md005_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md006_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md006_unicode_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md007_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md009_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md010_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md011_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md012_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md013_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md014_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md018_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md019_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md020_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md021_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md022_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md023_extended_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md023_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md024_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md025_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md026_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md027_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md028_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md029_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md030_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md031_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md032_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md033_extended_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md033_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md034_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md035_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md037_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md038_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md039_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md040_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md041_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md043_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md044_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md045_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md046_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md047_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md048_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md049_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md050_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md052_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md053_additional_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md053_proptest.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md053_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md054_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md054_unicode_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md056_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md057_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/md058_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/rules/mod.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/utils/blockquote_utils_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/utils/code_block_utils_extended_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/utils/code_block_utils_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/utils/core_utils_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/utils/front_matter_utils_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/utils/line_index_test.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/utils/mod.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/utils_markdown_edge_cases.rs +0 -0
- {rumdl-0.0.63 → rumdl-0.0.65}/tests/utils_tests.rs +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "rumdl"
|
|
3
|
-
version = "0.0.
|
|
3
|
+
version = "0.0.65"
|
|
4
4
|
edition = "2021"
|
|
5
5
|
description = "A fast Markdown linter written in Rust (Ru(st) MarkDown Linter)"
|
|
6
6
|
authors = ["Ruben J. Jongejan <ruben.jongejan@gmail.com>"]
|
|
@@ -65,7 +65,7 @@ tower-service = "0.3"
|
|
|
65
65
|
env_logger = "0.11"
|
|
66
66
|
|
|
67
67
|
[features]
|
|
68
|
-
default = ["parallel"
|
|
68
|
+
default = ["parallel"]
|
|
69
69
|
parallel = ["rayon"]
|
|
70
70
|
profiling = []
|
|
71
71
|
python = ["pyo3"]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rumdl
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.65
|
|
4
4
|
Classifier: Development Status :: 4 - Beta
|
|
5
5
|
Classifier: Environment :: Console
|
|
6
6
|
Classifier: Intended Audience :: Developers
|
|
@@ -70,8 +70,8 @@ Project-URL: Repository, https://github.com/rvben/rumdl.git
|
|
|
70
70
|
- [Configuration in pyproject.toml](#configuration-in-pyprojecttoml)
|
|
71
71
|
- [Configuration Output](#configuration-output)
|
|
72
72
|
- [Effective Configuration (`rumdl config`)](#effective-configuration-rumdl-config)
|
|
73
|
-
- [
|
|
74
|
-
|
|
73
|
+
- [Example output](#example-output)
|
|
74
|
+
- [Defaults Only (`rumdl config --defaults`)](#defaults-only-rumdl-config---defaults)
|
|
75
75
|
- [Output Style](#output-style)
|
|
76
76
|
- [Output Format](#output-format)
|
|
77
77
|
- [Development](#development)
|
|
@@ -377,9 +377,10 @@ Both kebab-case (`line-length`, `ignore-gitignore`) and snake_case (`line_length
|
|
|
377
377
|
|
|
378
378
|
#### Effective Configuration (`rumdl config`)
|
|
379
379
|
|
|
380
|
-
The `rumdl config` command prints the **full effective configuration** (defaults + all overrides), showing every key and its value, annotated with the source of each value.
|
|
380
|
+
The `rumdl config` command prints the **full effective configuration** (defaults + all overrides), showing every key and its value, annotated with the source of each value.
|
|
381
|
+
The output is colorized and the `[from ...]` annotation is globally aligned for easy scanning.
|
|
381
382
|
|
|
382
|
-
|
|
383
|
+
#### Example output
|
|
383
384
|
|
|
384
385
|
```text
|
|
385
386
|
[global]
|
|
@@ -393,6 +394,7 @@ The `rumdl config` command prints the **full effective configuration** (defaults
|
|
|
393
394
|
code_blocks = true [from .rumdl.toml]
|
|
394
395
|
...
|
|
395
396
|
```
|
|
397
|
+
|
|
396
398
|
- **Keys** are cyan, **values** are yellow, and the `[from ...]` annotation is colored by source:
|
|
397
399
|
- Green: CLI
|
|
398
400
|
- Blue: `.rumdl.toml`
|
|
@@ -400,7 +402,7 @@ The `rumdl config` command prints the **full effective configuration** (defaults
|
|
|
400
402
|
- Yellow: default
|
|
401
403
|
- The `[from ...]` column is aligned across all sections.
|
|
402
404
|
|
|
403
|
-
|
|
405
|
+
### Defaults Only (`rumdl config --defaults`)
|
|
404
406
|
|
|
405
407
|
The `--defaults` flag prints only the default configuration as TOML, suitable for copy-paste or reference:
|
|
406
408
|
|
|
@@ -418,40 +420,6 @@ code_blocks = true
|
|
|
418
420
|
...
|
|
419
421
|
```
|
|
420
422
|
|
|
421
|
-
## Editor Integration (LSP)
|
|
422
|
-
|
|
423
|
-
rumdl includes a built-in Language Server Protocol (LSP) implementation for real-time markdown linting in your favorite editor. Following [Ruff's approach](https://docs.astral.sh/ruff/editors/), the LSP server is built directly into the main `rumdl` binary.
|
|
424
|
-
|
|
425
|
-
### Starting the LSP Server
|
|
426
|
-
|
|
427
|
-
```bash
|
|
428
|
-
# Standard mode (stdio) - default
|
|
429
|
-
rumdl server
|
|
430
|
-
|
|
431
|
-
# Explicit stdio mode
|
|
432
|
-
rumdl server --stdio
|
|
433
|
-
|
|
434
|
-
# Debug mode (TCP)
|
|
435
|
-
rumdl server --port 8080 --verbose
|
|
436
|
-
```
|
|
437
|
-
|
|
438
|
-
### Supported Editors
|
|
439
|
-
|
|
440
|
-
- **VS Code**: Use the official rumdl extension (coming soon)
|
|
441
|
-
- **Neovim**: Configure with nvim-lspconfig
|
|
442
|
-
- **Emacs**: Use with lsp-mode
|
|
443
|
-
- **Sublime Text**: Use with LSP package
|
|
444
|
-
- **Any LSP-compatible editor**
|
|
445
|
-
|
|
446
|
-
For detailed setup instructions, see our [LSP Setup Guide](docs/lsp-setup.md).
|
|
447
|
-
|
|
448
|
-
### LSP Features
|
|
449
|
-
|
|
450
|
-
- **Real-time diagnostics** - See markdown linting errors as you type
|
|
451
|
-
- **Code actions** - One-click fixes for violations (where available)
|
|
452
|
-
- **Configuration support** - Respects your `.rumdl.toml` configuration
|
|
453
|
-
- **Performance optimized** - Built in Rust with all our performance optimizations
|
|
454
|
-
|
|
455
423
|
## Output Style
|
|
456
424
|
|
|
457
425
|
rumdl produces clean, colorized output similar to modern linting tools:
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
- [Configuration in pyproject.toml](#configuration-in-pyprojecttoml)
|
|
41
41
|
- [Configuration Output](#configuration-output)
|
|
42
42
|
- [Effective Configuration (`rumdl config`)](#effective-configuration-rumdl-config)
|
|
43
|
-
- [
|
|
44
|
-
|
|
43
|
+
- [Example output](#example-output)
|
|
44
|
+
- [Defaults Only (`rumdl config --defaults`)](#defaults-only-rumdl-config---defaults)
|
|
45
45
|
- [Output Style](#output-style)
|
|
46
46
|
- [Output Format](#output-format)
|
|
47
47
|
- [Development](#development)
|
|
@@ -347,9 +347,10 @@ Both kebab-case (`line-length`, `ignore-gitignore`) and snake_case (`line_length
|
|
|
347
347
|
|
|
348
348
|
#### Effective Configuration (`rumdl config`)
|
|
349
349
|
|
|
350
|
-
The `rumdl config` command prints the **full effective configuration** (defaults + all overrides), showing every key and its value, annotated with the source of each value.
|
|
350
|
+
The `rumdl config` command prints the **full effective configuration** (defaults + all overrides), showing every key and its value, annotated with the source of each value.
|
|
351
|
+
The output is colorized and the `[from ...]` annotation is globally aligned for easy scanning.
|
|
351
352
|
|
|
352
|
-
|
|
353
|
+
#### Example output
|
|
353
354
|
|
|
354
355
|
```text
|
|
355
356
|
[global]
|
|
@@ -363,6 +364,7 @@ The `rumdl config` command prints the **full effective configuration** (defaults
|
|
|
363
364
|
code_blocks = true [from .rumdl.toml]
|
|
364
365
|
...
|
|
365
366
|
```
|
|
367
|
+
|
|
366
368
|
- **Keys** are cyan, **values** are yellow, and the `[from ...]` annotation is colored by source:
|
|
367
369
|
- Green: CLI
|
|
368
370
|
- Blue: `.rumdl.toml`
|
|
@@ -370,7 +372,7 @@ The `rumdl config` command prints the **full effective configuration** (defaults
|
|
|
370
372
|
- Yellow: default
|
|
371
373
|
- The `[from ...]` column is aligned across all sections.
|
|
372
374
|
|
|
373
|
-
|
|
375
|
+
### Defaults Only (`rumdl config --defaults`)
|
|
374
376
|
|
|
375
377
|
The `--defaults` flag prints only the default configuration as TOML, suitable for copy-paste or reference:
|
|
376
378
|
|
|
@@ -388,40 +390,6 @@ code_blocks = true
|
|
|
388
390
|
...
|
|
389
391
|
```
|
|
390
392
|
|
|
391
|
-
## Editor Integration (LSP)
|
|
392
|
-
|
|
393
|
-
rumdl includes a built-in Language Server Protocol (LSP) implementation for real-time markdown linting in your favorite editor. Following [Ruff's approach](https://docs.astral.sh/ruff/editors/), the LSP server is built directly into the main `rumdl` binary.
|
|
394
|
-
|
|
395
|
-
### Starting the LSP Server
|
|
396
|
-
|
|
397
|
-
```bash
|
|
398
|
-
# Standard mode (stdio) - default
|
|
399
|
-
rumdl server
|
|
400
|
-
|
|
401
|
-
# Explicit stdio mode
|
|
402
|
-
rumdl server --stdio
|
|
403
|
-
|
|
404
|
-
# Debug mode (TCP)
|
|
405
|
-
rumdl server --port 8080 --verbose
|
|
406
|
-
```
|
|
407
|
-
|
|
408
|
-
### Supported Editors
|
|
409
|
-
|
|
410
|
-
- **VS Code**: Use the official rumdl extension (coming soon)
|
|
411
|
-
- **Neovim**: Configure with nvim-lspconfig
|
|
412
|
-
- **Emacs**: Use with lsp-mode
|
|
413
|
-
- **Sublime Text**: Use with LSP package
|
|
414
|
-
- **Any LSP-compatible editor**
|
|
415
|
-
|
|
416
|
-
For detailed setup instructions, see our [LSP Setup Guide](docs/lsp-setup.md).
|
|
417
|
-
|
|
418
|
-
### LSP Features
|
|
419
|
-
|
|
420
|
-
- **Real-time diagnostics** - See markdown linting errors as you type
|
|
421
|
-
- **Code actions** - One-click fixes for violations (where available)
|
|
422
|
-
- **Configuration support** - Respects your `.rumdl.toml` configuration
|
|
423
|
-
- **Performance optimized** - Built in Rust with all our performance optimizations
|
|
424
|
-
|
|
425
393
|
## Output Style
|
|
426
394
|
|
|
427
395
|
rumdl produces clean, colorized output similar to modern linting tools:
|
|
@@ -11,7 +11,7 @@ description: Ensures the first heading in a document is a top-level heading (h1)
|
|
|
11
11
|
|
|
12
12
|
## Description
|
|
13
13
|
|
|
14
|
-
This rule ensures that the first heading in a document is a top-level heading (h1). Using a top-level heading
|
|
14
|
+
This rule ensures that the first heading in a document is a top-level heading (h1). Using a top-level heading
|
|
15
15
|
as the first heading helps establish the document's main topic and maintains proper document structure.
|
|
16
16
|
|
|
17
17
|
## Configuration
|
|
@@ -32,8 +32,6 @@ Example configuration:
|
|
|
32
32
|
|
|
33
33
|
## Examples
|
|
34
34
|
|
|
35
|
-
<!-- markdownlint-disable -->
|
|
36
|
-
|
|
37
35
|
### Valid
|
|
38
36
|
|
|
39
37
|
```markdown
|
|
@@ -48,6 +46,8 @@ Example configuration:
|
|
|
48
46
|
|
|
49
47
|
### Invalid
|
|
50
48
|
|
|
49
|
+
<!-- rumdl-disable MD002 -->
|
|
50
|
+
|
|
51
51
|
```markdown
|
|
52
52
|
## Document Title
|
|
53
53
|
|
|
@@ -56,6 +56,8 @@ Example configuration:
|
|
|
56
56
|
# Main Heading
|
|
57
57
|
```
|
|
58
58
|
|
|
59
|
+
<!-- rumdl-enable MD002 -->
|
|
60
|
+
|
|
59
61
|
### Fixed
|
|
60
62
|
|
|
61
63
|
```markdown
|
|
@@ -68,6 +70,8 @@ Example configuration:
|
|
|
68
70
|
|
|
69
71
|
### Special Cases
|
|
70
72
|
|
|
73
|
+
<!-- rumdl-disable MD002 -->
|
|
74
|
+
|
|
71
75
|
```markdown
|
|
72
76
|
### Third Level Heading
|
|
73
77
|
|
|
@@ -81,7 +85,8 @@ Heading
|
|
|
81
85
|
Heading
|
|
82
86
|
=======
|
|
83
87
|
```
|
|
84
|
-
|
|
88
|
+
|
|
89
|
+
<!-- rumdl-enable MD002 -->
|
|
85
90
|
|
|
86
91
|
## Rationale
|
|
87
92
|
|
|
@@ -34,7 +34,6 @@ Example configuration:
|
|
|
34
34
|
}
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
<!-- markdownlint-disable -->
|
|
38
37
|
## Examples
|
|
39
38
|
|
|
40
39
|
### ✓ Correct (ATX Style)
|
|
@@ -65,6 +64,8 @@ Second Level Heading
|
|
|
65
64
|
|
|
66
65
|
### ❌ Incorrect (Mixed Styles)
|
|
67
66
|
|
|
67
|
+
<!-- rumdl-disable MD003 -->
|
|
68
|
+
|
|
68
69
|
```markdown
|
|
69
70
|
# First Level Heading
|
|
70
71
|
|
|
@@ -73,7 +74,8 @@ Second Level Heading
|
|
|
73
74
|
|
|
74
75
|
### Third Level Heading
|
|
75
76
|
```
|
|
76
|
-
|
|
77
|
+
|
|
78
|
+
<!-- rumdl-enable MD003 -->
|
|
77
79
|
|
|
78
80
|
## Special Cases
|
|
79
81
|
|
|
@@ -18,7 +18,8 @@ This rule has no configuration options. It enforces:
|
|
|
18
18
|
- 0 spaces for top-level list items
|
|
19
19
|
- 2 spaces per level for nested items (both ordered and unordered lists)
|
|
20
20
|
|
|
21
|
-
<!--
|
|
21
|
+
<!-- rumdl-disable MD005 -->
|
|
22
|
+
|
|
22
23
|
## Examples
|
|
23
24
|
|
|
24
25
|
### Valid
|
|
@@ -98,7 +99,8 @@ This rule has no configuration options. It enforces:
|
|
|
98
99
|
1. Ordered item at same level
|
|
99
100
|
2. Another ordered item
|
|
100
101
|
```
|
|
101
|
-
|
|
102
|
+
|
|
103
|
+
<!-- rumdl-enable MD005 -->
|
|
102
104
|
|
|
103
105
|
## Related Rules
|
|
104
106
|
|
|
@@ -12,7 +12,8 @@ Using proper indentation helps clearly distinguish between top-level list items
|
|
|
12
12
|
|
|
13
13
|
This rule has no configurable options. It always enforces that top-level list items start at the beginning of the line.
|
|
14
14
|
|
|
15
|
-
<!--
|
|
15
|
+
<!-- rumdl-disable MD006 -->
|
|
16
|
+
|
|
16
17
|
## Examples
|
|
17
18
|
|
|
18
19
|
### Valid
|
|
@@ -62,6 +63,7 @@ This is invalid because all top-level list items are indented with 2 spaces. The
|
|
|
62
63
|
The rule will automatically fix incorrectly indented top-level list items by removing the leading whitespace:
|
|
63
64
|
|
|
64
65
|
Before:
|
|
66
|
+
|
|
65
67
|
```markdown
|
|
66
68
|
* Item 1
|
|
67
69
|
* Item 2
|
|
@@ -70,6 +72,7 @@ Before:
|
|
|
70
72
|
```
|
|
71
73
|
|
|
72
74
|
After:
|
|
75
|
+
|
|
73
76
|
```markdown
|
|
74
77
|
* Item 1
|
|
75
78
|
* Item 2
|
|
@@ -92,7 +95,8 @@ Some text here
|
|
|
92
95
|
* Indented list 1 <!-- This is an error -->
|
|
93
96
|
* Indented list 2 <!-- This is an error -->
|
|
94
97
|
```
|
|
95
|
-
|
|
98
|
+
|
|
99
|
+
<!-- rumdl-enable MD006 -->
|
|
96
100
|
|
|
97
101
|
The second list would trigger warnings because the items are indented.
|
|
98
102
|
|
|
@@ -10,7 +10,8 @@ Nested list items should be indented with exactly 2 spaces per level. This ensur
|
|
|
10
10
|
|
|
11
11
|
## Examples
|
|
12
12
|
|
|
13
|
-
<!--
|
|
13
|
+
<!-- rumdl-disable MD007 -->
|
|
14
|
+
|
|
14
15
|
### Valid
|
|
15
16
|
|
|
16
17
|
```markdown
|
|
@@ -40,7 +41,8 @@ Nested list items should be indented with exactly 2 spaces per level. This ensur
|
|
|
40
41
|
* Item 2
|
|
41
42
|
* Another nested item
|
|
42
43
|
```
|
|
43
|
-
|
|
44
|
+
|
|
45
|
+
<!-- rumdl-enable MD007 -->
|
|
44
46
|
|
|
45
47
|
## Special Cases
|
|
46
48
|
|
|
@@ -14,7 +14,8 @@ Trailing whitespace can cause issues with some Markdown parsers and is generally
|
|
|
14
14
|
|
|
15
15
|
## Examples
|
|
16
16
|
|
|
17
|
-
<!--
|
|
17
|
+
<!-- rumdl-disable MD009 -->
|
|
18
|
+
|
|
18
19
|
### Valid
|
|
19
20
|
|
|
20
21
|
```markdown
|
|
@@ -35,7 +36,8 @@ And this one too
|
|
|
35
36
|
This line has no trailing spaces
|
|
36
37
|
And this one is fixed too
|
|
37
38
|
```
|
|
38
|
-
|
|
39
|
+
|
|
40
|
+
<!-- rumdl-enable MD009 -->
|
|
39
41
|
|
|
40
42
|
### Special Cases
|
|
41
43
|
|
|
@@ -14,7 +14,8 @@ leading to inconsistent rendering.
|
|
|
14
14
|
|
|
15
15
|
## Examples
|
|
16
16
|
|
|
17
|
-
<!--
|
|
17
|
+
<!-- rumdl-disable MD010 -->
|
|
18
|
+
|
|
18
19
|
### Valid
|
|
19
20
|
|
|
20
21
|
```markdown
|
|
@@ -38,7 +39,8 @@ leading to inconsistent rendering.
|
|
|
38
39
|
* Indented with spaces
|
|
39
40
|
* Deeper indentation
|
|
40
41
|
```
|
|
41
|
-
|
|
42
|
+
|
|
43
|
+
<!-- rumdl-enable MD010 -->
|
|
42
44
|
|
|
43
45
|
### Special Cases
|
|
44
46
|
|
|
@@ -13,7 +13,8 @@ This rule has no configurable options. It simply identifies and fixes reversed l
|
|
|
13
13
|
|
|
14
14
|
## Examples
|
|
15
15
|
|
|
16
|
-
<!--
|
|
16
|
+
<!-- rumdl-disable MD011 -->
|
|
17
|
+
|
|
17
18
|
### Valid
|
|
18
19
|
|
|
19
20
|
```markdown
|
|
@@ -32,7 +33,8 @@ These links follow the correct Markdown syntax, with text in square brackets fol
|
|
|
32
33
|
[Contact us](mailto:example@example.com)
|
|
33
34
|
```
|
|
34
35
|
|
|
35
|
-
In these examples, the link syntax is reversed, with text in parentheses and the URL in square brackets. This is incorrect Markdown syntax and will not render as a proper link in most Markdown
|
|
36
|
+
In these examples, the link syntax is reversed, with text in parentheses and the URL in square brackets. This is incorrect Markdown syntax and will not render as a proper link in most Markdown
|
|
37
|
+
processors.
|
|
36
38
|
|
|
37
39
|
### Fixed
|
|
38
40
|
|
|
@@ -43,7 +45,8 @@ When running the linter with fixes applied, the above invalid links would be tra
|
|
|
43
45
|
[Documentation](./docs/README.md)
|
|
44
46
|
[Contact us](mailto:example@example.com)
|
|
45
47
|
```
|
|
46
|
-
|
|
48
|
+
|
|
49
|
+
<!-- rumdl-enable MD011 -->
|
|
47
50
|
|
|
48
51
|
## Special Cases
|
|
49
52
|
|
|
@@ -15,7 +15,8 @@ Lines in the Markdown document should not exceed a certain length. This helps wi
|
|
|
15
15
|
|
|
16
16
|
## Examples
|
|
17
17
|
|
|
18
|
-
<!--
|
|
18
|
+
<!-- rumdl-disable MD013 -->
|
|
19
|
+
|
|
19
20
|
### Valid
|
|
20
21
|
|
|
21
22
|
```markdown
|
|
@@ -36,7 +37,8 @@ This is a very long line that exceeds the maximum line length limit and will tri
|
|
|
36
37
|
This is a line that has been broken up
|
|
37
38
|
to stay under the maximum line length limit.
|
|
38
39
|
```
|
|
39
|
-
|
|
40
|
+
|
|
41
|
+
<!-- rumdl-enable MD013 -->
|
|
40
42
|
|
|
41
43
|
## Special Cases
|
|
42
44
|
|
|
@@ -12,7 +12,8 @@ When documenting shell commands, it's helpful to show their output to provide co
|
|
|
12
12
|
|
|
13
13
|
## Examples
|
|
14
14
|
|
|
15
|
-
<!--
|
|
15
|
+
<!-- rumdl-disable MD014 -->
|
|
16
|
+
|
|
16
17
|
### Valid
|
|
17
18
|
|
|
18
19
|
```markdown
|
|
@@ -45,7 +46,7 @@ $ ls -l
|
|
|
45
46
|
```
|
|
46
47
|
|
|
47
48
|
$ echo "Hello"
|
|
48
|
-
<!--
|
|
49
|
+
<!-- rumdl-enable MD014 -->
|
|
49
50
|
|
|
50
51
|
```text
|
|
51
52
|
```
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
This rule ensures that there is a space between the hash signs (#) and the heading text in ATX-style headings.
|
|
6
6
|
A missing space can cause inconsistent rendering across different Markdown processors.
|
|
7
7
|
|
|
8
|
-
<!--
|
|
8
|
+
<!-- rumdl-disable MD018 -->
|
|
9
|
+
|
|
9
10
|
## Examples
|
|
10
11
|
|
|
11
12
|
### Valid
|
|
@@ -40,7 +41,8 @@ A missing space can cause inconsistent rendering across different Markdown proce
|
|
|
40
41
|
##### Heading 5
|
|
41
42
|
###### Heading 6
|
|
42
43
|
```
|
|
43
|
-
|
|
44
|
+
|
|
45
|
+
<!-- rumdl-enable MD018 -->
|
|
44
46
|
|
|
45
47
|
## Special Cases
|
|
46
48
|
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
This rule ensures that there is only one space between the hash signs (#) and the heading text in ATX-style headings.
|
|
6
6
|
Multiple spaces can cause inconsistent rendering across different Markdown processors.
|
|
7
7
|
|
|
8
|
-
<!--
|
|
8
|
+
<!-- rumdl-disable MD019 -->
|
|
9
|
+
|
|
9
10
|
## Examples
|
|
10
11
|
|
|
11
12
|
### Valid
|
|
@@ -40,7 +41,8 @@ Multiple spaces can cause inconsistent rendering across different Markdown proce
|
|
|
40
41
|
##### Heading 5
|
|
41
42
|
###### Heading 6
|
|
42
43
|
```
|
|
43
|
-
|
|
44
|
+
|
|
45
|
+
<!-- rumdl-enable MD019 -->
|
|
44
46
|
|
|
45
47
|
## Special Cases
|
|
46
48
|
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
This rule ensures that there is a space between the hash signs (#) and the heading text in closed ATX-style headings.
|
|
6
6
|
A missing space can cause inconsistent rendering across different Markdown processors.
|
|
7
7
|
|
|
8
|
-
<!--
|
|
8
|
+
<!-- rumdl-disable MD020 -->
|
|
9
|
+
|
|
9
10
|
## Examples
|
|
10
11
|
|
|
11
12
|
### Valid
|
|
@@ -40,7 +41,8 @@ A missing space can cause inconsistent rendering across different Markdown proce
|
|
|
40
41
|
##### Heading 5 #####
|
|
41
42
|
###### Heading 6 ######
|
|
42
43
|
```
|
|
43
|
-
|
|
44
|
+
|
|
45
|
+
<!-- rumdl-enable MD020 -->
|
|
44
46
|
|
|
45
47
|
## Special Cases
|
|
46
48
|
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
This rule ensures that there is only one space between the hash signs (#) and the heading text in closed ATX-style headings.
|
|
6
6
|
Multiple spaces can cause inconsistent rendering across different Markdown processors.
|
|
7
7
|
|
|
8
|
-
<!--
|
|
8
|
+
<!-- rumdl-disable MD021 -->
|
|
9
|
+
|
|
9
10
|
## Examples
|
|
10
11
|
|
|
11
12
|
### Valid
|
|
@@ -40,7 +41,8 @@ Multiple spaces can cause inconsistent rendering across different Markdown proce
|
|
|
40
41
|
##### Heading 5 #####
|
|
41
42
|
###### Heading 6 ######
|
|
42
43
|
```
|
|
43
|
-
|
|
44
|
+
|
|
45
|
+
<!-- rumdl-enable MD021 -->
|
|
44
46
|
|
|
45
47
|
## Special Cases
|
|
46
48
|
|
|
@@ -10,7 +10,7 @@ Consistent spacing around headings improves readability and ensures proper rende
|
|
|
10
10
|
- `lines_above`: Number of blank lines that should be above headings (default: 1)
|
|
11
11
|
- `lines_below`: Number of blank lines that should be below headings (default: 1)
|
|
12
12
|
|
|
13
|
-
<!--
|
|
13
|
+
<!-- rumdl-disable MD022 -->
|
|
14
14
|
## Examples
|
|
15
15
|
|
|
16
16
|
### Valid
|
|
@@ -55,7 +55,8 @@ More content here.
|
|
|
55
55
|
|
|
56
56
|
Even more content.
|
|
57
57
|
```
|
|
58
|
-
|
|
58
|
+
|
|
59
|
+
<!-- rumdl-enable MD022 -->
|
|
59
60
|
|
|
60
61
|
## Special Cases
|
|
61
62
|
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
This rule ensures that all headings start at the beginning of the line, without any indentation.
|
|
6
6
|
Indented headings can cause inconsistent rendering across different Markdown processors.
|
|
7
7
|
|
|
8
|
-
<!--
|
|
8
|
+
<!-- rumdl-disable MD023 -->
|
|
9
|
+
|
|
9
10
|
## Examples
|
|
10
11
|
|
|
11
12
|
### Valid
|
|
@@ -31,7 +32,8 @@ Indented headings can cause inconsistent rendering across different Markdown pro
|
|
|
31
32
|
## Heading 2
|
|
32
33
|
### Heading 3
|
|
33
34
|
```
|
|
34
|
-
|
|
35
|
+
|
|
36
|
+
<!-- rumdl-enable MD023 -->
|
|
35
37
|
|
|
36
38
|
## Special Cases
|
|
37
39
|
|
|
@@ -8,7 +8,8 @@ Duplicate headings can confuse readers and cause issues with generated tables of
|
|
|
8
8
|
By default, this rule considers all headings in the document, but it can be configured to
|
|
9
9
|
only check for duplicates within the same section level.
|
|
10
10
|
|
|
11
|
-
<!--
|
|
11
|
+
<!-- rumdl-disable MD024 -->
|
|
12
|
+
|
|
12
13
|
## Examples
|
|
13
14
|
|
|
14
15
|
### Valid
|
|
@@ -52,7 +53,8 @@ Some content here.
|
|
|
52
53
|
|
|
53
54
|
More content here.
|
|
54
55
|
```
|
|
55
|
-
|
|
56
|
+
|
|
57
|
+
<!-- rumdl-enable MD024 -->
|
|
56
58
|
|
|
57
59
|
## Configuration
|
|
58
60
|
|
|
@@ -67,7 +69,8 @@ the document hierarchy) are checked for duplicates. Default is `false`.
|
|
|
67
69
|
|
|
68
70
|
MD024 does not support auto-fixing.
|
|
69
71
|
|
|
70
|
-
Duplicate headings are only reported as warnings; no automatic fix is provided. This is because removing or changing headings automatically could result in data loss or confusion. Please review and
|
|
72
|
+
Duplicate headings are only reported as warnings; no automatic fix is provided. This is because removing or changing headings automatically could result in data loss or confusion. Please review and
|
|
73
|
+
resolve duplicate headings manually.
|
|
71
74
|
|
|
72
75
|
## Special Cases
|
|
73
76
|
|
|
@@ -6,7 +6,6 @@ This rule ensures that headings do not end with punctuation characters. Trailing
|
|
|
6
6
|
|
|
7
7
|
By default, this rule checks for the following punctuation characters: `.,;:!?`. The list of punctuation characters can be customized through configuration.
|
|
8
8
|
|
|
9
|
-
<!-- markdownlint-disable -->
|
|
10
9
|
## Examples
|
|
11
10
|
|
|
12
11
|
### Valid
|
|
@@ -21,6 +20,8 @@ By default, this rule checks for the following punctuation characters: `.,;:!?`.
|
|
|
21
20
|
|
|
22
21
|
### Invalid
|
|
23
22
|
|
|
23
|
+
<!-- rumdl-disable MD026 -->
|
|
24
|
+
|
|
24
25
|
```markdown
|
|
25
26
|
# Introduction!
|
|
26
27
|
|
|
@@ -29,6 +30,8 @@ By default, this rule checks for the following punctuation characters: `.,;:!?`.
|
|
|
29
30
|
### How to Install.
|
|
30
31
|
```
|
|
31
32
|
|
|
33
|
+
<!-- rumdl-enable MD026 -->
|
|
34
|
+
|
|
32
35
|
### Fixed
|
|
33
36
|
|
|
34
37
|
```markdown
|
|
@@ -38,7 +41,6 @@ By default, this rule checks for the following punctuation characters: `.,;:!?`.
|
|
|
38
41
|
|
|
39
42
|
### How to Install
|
|
40
43
|
```
|
|
41
|
-
<!-- markdownlint-enable -->
|
|
42
44
|
|
|
43
45
|
## Configuration
|
|
44
46
|
|
|
@@ -6,7 +6,8 @@ This rule ensures that blockquote markers (`>`) are followed by a single space.
|
|
|
6
6
|
Multiple spaces after the blockquote symbol can lead to inconsistent rendering and
|
|
7
7
|
are generally considered poor style.
|
|
8
8
|
|
|
9
|
-
<!--
|
|
9
|
+
<!-- rumdl-disable MD027 -->
|
|
10
|
+
|
|
10
11
|
## Examples
|
|
11
12
|
|
|
12
13
|
### Valid
|
|
@@ -32,7 +33,8 @@ are generally considered poor style.
|
|
|
32
33
|
> Each line now starts with a single space after the '>' symbol.
|
|
33
34
|
> This ensures consistent formatting.
|
|
34
35
|
```
|
|
35
|
-
|
|
36
|
+
|
|
37
|
+
<!-- rumdl-enable MD027 -->
|
|
36
38
|
|
|
37
39
|
## Special Cases
|
|
38
40
|
|