├── .bumpversion.cfg ├── .flake8 ├── .gitattributes ├── .github ├── ISSUE_TEMPLATE │ ├── bug.yaml │ ├── config.yml │ └── enhancement.yaml └── workflows │ └── tests.yaml ├── .gitignore ├── .pre-commit-config.yaml ├── .pre-commit-hooks.yaml ├── .readthedocs.yaml ├── LICENSE ├── MANIFEST.in ├── README.md ├── docs ├── _static │ ├── logo-150px.png │ └── logo.svg ├── conf.py ├── contributors │ └── contributing.md ├── index.md ├── requirements.txt └── users │ ├── changelog.md │ ├── configuration_file.md │ ├── installation_and_usage.md │ ├── plugins.md │ └── style.md ├── fuzzer ├── fuzz.py └── requirements.txt ├── pyproject.toml ├── src └── mdformat │ ├── __init__.py │ ├── __main__.py │ ├── _api.py │ ├── _cli.py │ ├── _compat.py │ ├── _conf.py │ ├── _util.py │ ├── codepoints │ ├── __init__.py │ ├── _unicode_punctuation.py │ └── _unicode_whitespace.py │ ├── plugins.py │ ├── py.typed │ └── renderer │ ├── __init__.py │ ├── _context.py │ ├── _tree.py │ ├── _util.py │ └── typing.py └── tests ├── __init__.py ├── conftest.py ├── data ├── commonmark_spec_v0.31.2.json ├── consecutive_numbering.md ├── default_style.md └── wrap_width_50.md ├── requirements.txt ├── test_api.py ├── test_cli.py ├── test_commonmark_spec.py ├── test_config_file.py ├── test_context.py ├── test_for_profiler.py ├── test_performance.py ├── test_plugins.py ├── test_renderer_util.py ├── test_style.py ├── test_util.py └── utils.py /.bumpversion.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/.bumpversion.cfg -------------------------------------------------------------------------------- /.flake8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/.flake8 -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/.github/ISSUE_TEMPLATE/bug.yaml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/enhancement.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/.github/ISSUE_TEMPLATE/enhancement.yaml -------------------------------------------------------------------------------- /.github/workflows/tests.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/.github/workflows/tests.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /.pre-commit-hooks.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/.pre-commit-hooks.yaml -------------------------------------------------------------------------------- /.readthedocs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/.readthedocs.yaml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- 1 | prune tests/ 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/README.md -------------------------------------------------------------------------------- /docs/_static/logo-150px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/docs/_static/logo-150px.png -------------------------------------------------------------------------------- /docs/_static/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/docs/_static/logo.svg -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/contributors/contributing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/docs/contributors/contributing.md -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/docs/index.md -------------------------------------------------------------------------------- /docs/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/docs/requirements.txt -------------------------------------------------------------------------------- /docs/users/changelog.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/docs/users/changelog.md -------------------------------------------------------------------------------- /docs/users/configuration_file.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/docs/users/configuration_file.md -------------------------------------------------------------------------------- /docs/users/installation_and_usage.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/docs/users/installation_and_usage.md -------------------------------------------------------------------------------- /docs/users/plugins.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/docs/users/plugins.md -------------------------------------------------------------------------------- /docs/users/style.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/docs/users/style.md -------------------------------------------------------------------------------- /fuzzer/fuzz.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/fuzzer/fuzz.py -------------------------------------------------------------------------------- /fuzzer/requirements.txt: -------------------------------------------------------------------------------- 1 | # sudo apt-get install clang 2 | wheel 3 | atheris==2.0.12 4 | -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/pyproject.toml -------------------------------------------------------------------------------- /src/mdformat/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/src/mdformat/__init__.py -------------------------------------------------------------------------------- /src/mdformat/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/src/mdformat/__main__.py -------------------------------------------------------------------------------- /src/mdformat/_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/src/mdformat/_api.py -------------------------------------------------------------------------------- /src/mdformat/_cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/src/mdformat/_cli.py -------------------------------------------------------------------------------- /src/mdformat/_compat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/src/mdformat/_compat.py -------------------------------------------------------------------------------- /src/mdformat/_conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/src/mdformat/_conf.py -------------------------------------------------------------------------------- /src/mdformat/_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/src/mdformat/_util.py -------------------------------------------------------------------------------- /src/mdformat/codepoints/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/src/mdformat/codepoints/__init__.py -------------------------------------------------------------------------------- /src/mdformat/codepoints/_unicode_punctuation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/src/mdformat/codepoints/_unicode_punctuation.py -------------------------------------------------------------------------------- /src/mdformat/codepoints/_unicode_whitespace.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/src/mdformat/codepoints/_unicode_whitespace.py -------------------------------------------------------------------------------- /src/mdformat/plugins.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/src/mdformat/plugins.py -------------------------------------------------------------------------------- /src/mdformat/py.typed: -------------------------------------------------------------------------------- 1 | # Marker file for PEP 561 2 | -------------------------------------------------------------------------------- /src/mdformat/renderer/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/src/mdformat/renderer/__init__.py -------------------------------------------------------------------------------- /src/mdformat/renderer/_context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/src/mdformat/renderer/_context.py -------------------------------------------------------------------------------- /src/mdformat/renderer/_tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/src/mdformat/renderer/_tree.py -------------------------------------------------------------------------------- /src/mdformat/renderer/_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/src/mdformat/renderer/_util.py -------------------------------------------------------------------------------- /src/mdformat/renderer/typing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/src/mdformat/renderer/typing.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/data/commonmark_spec_v0.31.2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/tests/data/commonmark_spec_v0.31.2.json -------------------------------------------------------------------------------- /tests/data/consecutive_numbering.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/tests/data/consecutive_numbering.md -------------------------------------------------------------------------------- /tests/data/default_style.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/tests/data/default_style.md -------------------------------------------------------------------------------- /tests/data/wrap_width_50.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/tests/data/wrap_width_50.md -------------------------------------------------------------------------------- /tests/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/tests/requirements.txt -------------------------------------------------------------------------------- /tests/test_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/tests/test_api.py -------------------------------------------------------------------------------- /tests/test_cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/tests/test_cli.py -------------------------------------------------------------------------------- /tests/test_commonmark_spec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/tests/test_commonmark_spec.py -------------------------------------------------------------------------------- /tests/test_config_file.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/tests/test_config_file.py -------------------------------------------------------------------------------- /tests/test_context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/tests/test_context.py -------------------------------------------------------------------------------- /tests/test_for_profiler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/tests/test_for_profiler.py -------------------------------------------------------------------------------- /tests/test_performance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/tests/test_performance.py -------------------------------------------------------------------------------- /tests/test_plugins.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/tests/test_plugins.py -------------------------------------------------------------------------------- /tests/test_renderer_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/tests/test_renderer_util.py -------------------------------------------------------------------------------- /tests/test_style.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/tests/test_style.py -------------------------------------------------------------------------------- /tests/test_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/tests/test_util.py -------------------------------------------------------------------------------- /tests/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hukkin/mdformat/HEAD/tests/utils.py --------------------------------------------------------------------------------