Skip to content

Commit cf491f4

Browse files
committed
docs(#4): release v1.2.0
1 parent eeecf07 commit cf491f4

File tree

3 files changed

+15
-13
lines changed

3 files changed

+15
-13
lines changed

.pre-commit-test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ repos:
1010
files: tests/pre-commit-test.md
1111
types: [markdown]
1212
language: system
13-
- id: mdformat-with-args
14-
name: mdformat-with-args
13+
- id: mdformat-with-semantic-arg
14+
name: mdformat-with-semantic-arg
1515
entry: mdformat
1616
args: [--align-semantic-breaks-in-numbered-lists]
1717
files: tests/pre-commit-test-align_semantic_breaks_in_numbered_lists.md

README.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ An [mdformat](https://github.com/executablebooks/mdformat) plugin for [mkdocs](h
1111

1212
## Usage
1313

14-
Add this package wherever you use `mdformat` and the plugin will be auto-recognized. No additional configuration necessary. See [additional information on `mdformat` plugins here](https://mdformat.readthedocs.io/en/stable/users/plugins.html)
14+
Add this package wherever you use `mdformat` and the plugin will be auto-recognized. No additional configuration necessary. For additional information on plugins, see [the official `mdformat` documentation here](https://mdformat.readthedocs.io/en/stable/users/plugins.html)
1515

16-
Tip: this package specifies an "extra" (`recommended`) for plugins that work well with mkdocs:
16+
Tip: this package specifies an "extra" (`'recommended'`) for plugins that work well with mkdocs:
1717

1818
- [mdformat-admon](https://pypi.org/project/mdformat-admon)
1919
- [mdformat-beautysh](https://pypi.org/project/mdformat-beautysh)
@@ -49,14 +49,7 @@ pipx inject mdformat mdformat-mkdocs
4949
# pipx inject mdformat "mdformat-mkdocs[recommended]"
5050
```
5151

52-
## Caveats
53-
54-
- All indents are converted to 4-spaces
55-
- This plugin converts all bulleted items to dashes (`-`) and numerals to `1.`
56-
57-
See the example test files, [./tests/pre-commit-test.md](https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/main/tests/pre-commit-test.md) and [./tests/fixtures.md](https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/main/tests/fixtures.md)
58-
59-
## Configuration
52+
## CLI Options
6053

6154
`mdformat-mkdocs` adds the CLI argument `--align-semantic-breaks-in-numbered-lists` to optionally align line breaks in numbered lists to 3-spaces. If not specified, the default of 4-indents is followed universally.
6255

@@ -70,6 +63,15 @@ See the example test files, [./tests/pre-commit-test.md](https://raw.githubuserc
7063
three spaces deep
7164
```
7265

66+
Note: the `align-semantic-breaks-in-numbered-lists` setting is not supported in the configuration file yet (https://github.com/executablebooks/mdformat/issues/378)
67+
68+
## Caveats
69+
70+
- All indents are converted to 4-spaces
71+
- This plugin converts all bulleted items to dashes (`-`) and numerals to `1.`
72+
73+
See the example test files, [./tests/pre-commit-test.md](https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/main/tests/pre-commit-test.md) and [./tests/fixtures.md](https://raw.githubusercontent.com/KyleKing/mdformat-mkdocs/main/tests/fixtures.md)
74+
7375
## Contributing
7476

7577
See [CONTRIBUTING.md](https://github.com/KyleKing/mdformat-mkdocs/blob/main/CONTRIBUTING.md)

mdformat_mkdocs/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""An mdformat plugin for mkdocs."""
22

3-
__version__ = "1.0.2rc2"
3+
__version__ = "1.0.2"
44

55
from .plugin import ( # noqa: F401
66
POSTPROCESSORS,

0 commit comments

Comments
 (0)