diff --git a/.pre-commit-test.yaml b/.pre-commit-test.yaml index 53f5b97..8141c93 100644 --- a/.pre-commit-test.yaml +++ b/.pre-commit-test.yaml @@ -10,6 +10,13 @@ repos: files: tests/pre-commit-test.md types: [markdown] language: system + - id: mdformat-with-args + name: mdformat-with-args + entry: mdformat + args: [--wrap=40, --number] + files: tests/pre-commit-test-numbered.md + types: [markdown] + language: system - id: mdformat-with-semantic-arg name: mdformat-with-semantic-arg entry: mdformat diff --git a/tests/pre-commit-test-numbered.md b/tests/pre-commit-test-numbered.md new file mode 100644 index 0000000..612ec1d --- /dev/null +++ b/tests/pre-commit-test-numbered.md @@ -0,0 +1,11 @@ +# Numbered Lists + +1. A repository with dependencies and + artifacts is **growing very fast**. + 2\. Indented list item 1 2. Indented + list item 2 +2. If you store artifacts in the + repository, you need to remember to + compile the application before + every commit. +3. Compiled application.