├── .copier-answers.yml ├── .github └── workflows │ └── tests.yml ├── .gitignore ├── .pre-commit-config.yaml ├── .pre-commit-test.yaml ├── .yamllint.yaml ├── AGENTS.md ├── CLAUDE.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── mdformat_mkdocs ├── __init__.py ├── _helpers.py ├── _normalize_list.py ├── _postprocess_inline.py ├── _synced │ ├── __init__.py │ └── admon_factories │ │ ├── README.md │ │ ├── __init__.py │ │ └── _whitespace_admon_factories.py ├── mdit_plugins │ ├── __init__.py │ ├── _material_admon.py │ ├── _material_content_tabs.py │ ├── _material_deflist.py │ ├── _mkdocstrings_autorefs.py │ ├── _mkdocstrings_crossreference.py │ ├── _pymd_abbreviations.py │ ├── _pymd_admon.py │ ├── _pymd_arithmatex.py │ ├── _pymd_captions.py │ ├── _pymd_snippet.py │ └── _python_markdown_attr_list.py ├── plugin.py └── py.typed ├── mdsf.json ├── mise.lock ├── mise.toml ├── pyproject.toml └── tests ├── __init__.py ├── format ├── __init__.py ├── __snapshots__ │ └── test_parsed_result.ambr ├── fixtures │ ├── material_content_tabs.md │ ├── material_deflist.md │ ├── material_math.md │ ├── math_with_mkdocs_features.md │ ├── mkdocstrings_autorefs.md │ ├── parsed_result.md │ ├── pymd_abbreviations.md │ ├── pymd_arithmatex.md │ ├── pymd_arithmatex_ams_environments.md │ ├── pymd_arithmatex_edge_cases.md │ ├── pymd_snippet.md │ ├── python_markdown_attr_list.md │ ├── regression.md │ ├── semantic_indent.md │ └── text.md ├── test_align_semantic_breaks_in_lists.py ├── test_format.py ├── test_ignore_missing_references.py ├── test_number.py ├── test_parsed_result.py ├── test_tabbed_code_block.py └── test_wrap.py ├── helpers.py ├── pre-commit-test-align_semantic_breaks_in_lists.md ├── pre-commit-test-ignore_missing_references.md ├── pre-commit-test-numbered.md ├── pre-commit-test-recommended.md ├── pre-commit-test.md ├── render ├── __init__.py ├── fixtures │ ├── material_admonitions.md │ ├── material_content_tabs.md │ ├── material_deflist.md │ ├── mkdocstrings_autorefs.md │ ├── mkdocstrings_crossreference.md │ ├── pymd_abbreviations.md │ ├── pymd_arithmatex.md │ ├── pymd_captions.md │ ├── pymd_snippet.md │ └── python_markdown_attr_list.md └── test_render.py └── test_mdformat.py /.copier-answers.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/.copier-answers.yml -------------------------------------------------------------------------------- /.github/workflows/tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/.github/workflows/tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /.pre-commit-test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/.pre-commit-test.yaml -------------------------------------------------------------------------------- /.yamllint.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/.yamllint.yaml -------------------------------------------------------------------------------- /AGENTS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/AGENTS.md -------------------------------------------------------------------------------- /CLAUDE.md: -------------------------------------------------------------------------------- 1 | @AGENTS.md 2 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/README.md -------------------------------------------------------------------------------- /mdformat_mkdocs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/mdformat_mkdocs/__init__.py -------------------------------------------------------------------------------- /mdformat_mkdocs/_helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/mdformat_mkdocs/_helpers.py -------------------------------------------------------------------------------- /mdformat_mkdocs/_normalize_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/mdformat_mkdocs/_normalize_list.py -------------------------------------------------------------------------------- /mdformat_mkdocs/_postprocess_inline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/mdformat_mkdocs/_postprocess_inline.py -------------------------------------------------------------------------------- /mdformat_mkdocs/_synced/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /mdformat_mkdocs/_synced/admon_factories/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/mdformat_mkdocs/_synced/admon_factories/README.md -------------------------------------------------------------------------------- /mdformat_mkdocs/_synced/admon_factories/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/mdformat_mkdocs/_synced/admon_factories/__init__.py -------------------------------------------------------------------------------- /mdformat_mkdocs/_synced/admon_factories/_whitespace_admon_factories.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/mdformat_mkdocs/_synced/admon_factories/_whitespace_admon_factories.py -------------------------------------------------------------------------------- /mdformat_mkdocs/mdit_plugins/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/mdformat_mkdocs/mdit_plugins/__init__.py -------------------------------------------------------------------------------- /mdformat_mkdocs/mdit_plugins/_material_admon.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/mdformat_mkdocs/mdit_plugins/_material_admon.py -------------------------------------------------------------------------------- /mdformat_mkdocs/mdit_plugins/_material_content_tabs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/mdformat_mkdocs/mdit_plugins/_material_content_tabs.py -------------------------------------------------------------------------------- /mdformat_mkdocs/mdit_plugins/_material_deflist.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/mdformat_mkdocs/mdit_plugins/_material_deflist.py -------------------------------------------------------------------------------- /mdformat_mkdocs/mdit_plugins/_mkdocstrings_autorefs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/mdformat_mkdocs/mdit_plugins/_mkdocstrings_autorefs.py -------------------------------------------------------------------------------- /mdformat_mkdocs/mdit_plugins/_mkdocstrings_crossreference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/mdformat_mkdocs/mdit_plugins/_mkdocstrings_crossreference.py -------------------------------------------------------------------------------- /mdformat_mkdocs/mdit_plugins/_pymd_abbreviations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/mdformat_mkdocs/mdit_plugins/_pymd_abbreviations.py -------------------------------------------------------------------------------- /mdformat_mkdocs/mdit_plugins/_pymd_admon.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/mdformat_mkdocs/mdit_plugins/_pymd_admon.py -------------------------------------------------------------------------------- /mdformat_mkdocs/mdit_plugins/_pymd_arithmatex.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/mdformat_mkdocs/mdit_plugins/_pymd_arithmatex.py -------------------------------------------------------------------------------- /mdformat_mkdocs/mdit_plugins/_pymd_captions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/mdformat_mkdocs/mdit_plugins/_pymd_captions.py -------------------------------------------------------------------------------- /mdformat_mkdocs/mdit_plugins/_pymd_snippet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/mdformat_mkdocs/mdit_plugins/_pymd_snippet.py -------------------------------------------------------------------------------- /mdformat_mkdocs/mdit_plugins/_python_markdown_attr_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/mdformat_mkdocs/mdit_plugins/_python_markdown_attr_list.py -------------------------------------------------------------------------------- /mdformat_mkdocs/plugin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/mdformat_mkdocs/plugin.py -------------------------------------------------------------------------------- /mdformat_mkdocs/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /mdsf.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/mdsf.json -------------------------------------------------------------------------------- /mise.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/mise.lock -------------------------------------------------------------------------------- /mise.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/mise.toml -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/pyproject.toml -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/tests/__init__.py -------------------------------------------------------------------------------- /tests/format/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/format/__snapshots__/test_parsed_result.ambr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/tests/format/__snapshots__/test_parsed_result.ambr -------------------------------------------------------------------------------- /tests/format/fixtures/material_content_tabs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/tests/format/fixtures/material_content_tabs.md -------------------------------------------------------------------------------- /tests/format/fixtures/material_deflist.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/tests/format/fixtures/material_deflist.md -------------------------------------------------------------------------------- /tests/format/fixtures/material_math.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/tests/format/fixtures/material_math.md -------------------------------------------------------------------------------- /tests/format/fixtures/math_with_mkdocs_features.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/tests/format/fixtures/math_with_mkdocs_features.md -------------------------------------------------------------------------------- /tests/format/fixtures/mkdocstrings_autorefs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/tests/format/fixtures/mkdocstrings_autorefs.md -------------------------------------------------------------------------------- /tests/format/fixtures/parsed_result.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/tests/format/fixtures/parsed_result.md -------------------------------------------------------------------------------- /tests/format/fixtures/pymd_abbreviations.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/tests/format/fixtures/pymd_abbreviations.md -------------------------------------------------------------------------------- /tests/format/fixtures/pymd_arithmatex.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/tests/format/fixtures/pymd_arithmatex.md -------------------------------------------------------------------------------- /tests/format/fixtures/pymd_arithmatex_ams_environments.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/tests/format/fixtures/pymd_arithmatex_ams_environments.md -------------------------------------------------------------------------------- /tests/format/fixtures/pymd_arithmatex_edge_cases.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/tests/format/fixtures/pymd_arithmatex_edge_cases.md -------------------------------------------------------------------------------- /tests/format/fixtures/pymd_snippet.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/tests/format/fixtures/pymd_snippet.md -------------------------------------------------------------------------------- /tests/format/fixtures/python_markdown_attr_list.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/tests/format/fixtures/python_markdown_attr_list.md -------------------------------------------------------------------------------- /tests/format/fixtures/regression.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/tests/format/fixtures/regression.md -------------------------------------------------------------------------------- /tests/format/fixtures/semantic_indent.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/tests/format/fixtures/semantic_indent.md -------------------------------------------------------------------------------- /tests/format/fixtures/text.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/tests/format/fixtures/text.md -------------------------------------------------------------------------------- /tests/format/test_align_semantic_breaks_in_lists.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/tests/format/test_align_semantic_breaks_in_lists.py -------------------------------------------------------------------------------- /tests/format/test_format.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/tests/format/test_format.py -------------------------------------------------------------------------------- /tests/format/test_ignore_missing_references.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/tests/format/test_ignore_missing_references.py -------------------------------------------------------------------------------- /tests/format/test_number.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/tests/format/test_number.py -------------------------------------------------------------------------------- /tests/format/test_parsed_result.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/tests/format/test_parsed_result.py -------------------------------------------------------------------------------- /tests/format/test_tabbed_code_block.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/tests/format/test_tabbed_code_block.py -------------------------------------------------------------------------------- /tests/format/test_wrap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/tests/format/test_wrap.py -------------------------------------------------------------------------------- /tests/helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/tests/helpers.py -------------------------------------------------------------------------------- /tests/pre-commit-test-align_semantic_breaks_in_lists.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/tests/pre-commit-test-align_semantic_breaks_in_lists.md -------------------------------------------------------------------------------- /tests/pre-commit-test-ignore_missing_references.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/tests/pre-commit-test-ignore_missing_references.md -------------------------------------------------------------------------------- /tests/pre-commit-test-numbered.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/tests/pre-commit-test-numbered.md -------------------------------------------------------------------------------- /tests/pre-commit-test-recommended.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/tests/pre-commit-test-recommended.md -------------------------------------------------------------------------------- /tests/pre-commit-test.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/tests/pre-commit-test.md -------------------------------------------------------------------------------- /tests/render/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/render/fixtures/material_admonitions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/tests/render/fixtures/material_admonitions.md -------------------------------------------------------------------------------- /tests/render/fixtures/material_content_tabs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/tests/render/fixtures/material_content_tabs.md -------------------------------------------------------------------------------- /tests/render/fixtures/material_deflist.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/tests/render/fixtures/material_deflist.md -------------------------------------------------------------------------------- /tests/render/fixtures/mkdocstrings_autorefs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/tests/render/fixtures/mkdocstrings_autorefs.md -------------------------------------------------------------------------------- /tests/render/fixtures/mkdocstrings_crossreference.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/tests/render/fixtures/mkdocstrings_crossreference.md -------------------------------------------------------------------------------- /tests/render/fixtures/pymd_abbreviations.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/tests/render/fixtures/pymd_abbreviations.md -------------------------------------------------------------------------------- /tests/render/fixtures/pymd_arithmatex.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/tests/render/fixtures/pymd_arithmatex.md -------------------------------------------------------------------------------- /tests/render/fixtures/pymd_captions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/tests/render/fixtures/pymd_captions.md -------------------------------------------------------------------------------- /tests/render/fixtures/pymd_snippet.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/tests/render/fixtures/pymd_snippet.md -------------------------------------------------------------------------------- /tests/render/fixtures/python_markdown_attr_list.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/tests/render/fixtures/python_markdown_attr_list.md -------------------------------------------------------------------------------- /tests/render/test_render.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/tests/render/test_render.py -------------------------------------------------------------------------------- /tests/test_mdformat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/HEAD/tests/test_mdformat.py --------------------------------------------------------------------------------