An mdformat plugin to configure bullet characters for unordered lists and markers for ordered lists
Project description
mdformat-lists
A mdformat plugin to configure list markers for unordered and ordered lists.
By default, mdformat uses - as the bullet character (alternating with * for consecutive lists) and . as the ordered list marker. This plugin allows you to choose between -, *, and + for bullets, and . and ) for ordered list markers.
Usage
Install with:
pip install mdformat-lists
Then simply run mdformat as usual:
mdformat <filename>
Configuration
Unordered list bullet
Configure the bullet character in .mdformat.toml:
[plugin.lists]
bullet = "*"
Or via the command line:
mdformat --bullet="*" <filename>
Valid values are - (default), *, and +.
Ordered list marker
Configure the ordered list marker in .mdformat.toml:
[plugin.lists]
ordered_marker = ")"
Or via the command line:
mdformat --ordered-marker=")" <filename>
Valid values are . (default) and ).
When multiple ordered lists appear consecutively, the plugin alternates between the primary and secondary marker (. and )) to prevent Markdown parsers from merging separate lists into one.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mdformat_lists-0.0.1.tar.gz.
File metadata
- Download URL: mdformat_lists-0.0.1.tar.gz
- Upload date:
- Size: 29.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7b47082eccebf30b254604704e93e00f05d40931afa0f5b76d374628e45f9e6
|
|
| MD5 |
4f27684acef7ae7893182bc8ca66c3aa
|
|
| BLAKE2b-256 |
e1731c2c3b3b1aea184e3e5aaf2c31b64d341f0901cd8820012a937c0f442439
|
Provenance
The following attestation bundles were made for mdformat_lists-0.0.1.tar.gz:
Publisher:
publish.yml on brendanmaguire/mdformat-lists
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mdformat_lists-0.0.1.tar.gz -
Subject digest:
b7b47082eccebf30b254604704e93e00f05d40931afa0f5b76d374628e45f9e6 - Sigstore transparency entry: 950222267
- Sigstore integration time:
-
Permalink:
brendanmaguire/mdformat-lists@719e192e8bcfdc2c711923adf94a094991f3ecb4 -
Branch / Tag:
refs/tags/0.0.1 - Owner: https://github.com/brendanmaguire
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@719e192e8bcfdc2c711923adf94a094991f3ecb4 -
Trigger Event:
release
-
Statement type:
File details
Details for the file mdformat_lists-0.0.1-py3-none-any.whl.
File metadata
- Download URL: mdformat_lists-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b16788464bb69f7a0f7518aa975c9ea071483324933ef673518013323ecace1
|
|
| MD5 |
d59208162dee7f16b433debede9eed09
|
|
| BLAKE2b-256 |
54cf16b7b8fbc4530df01faac5d2645eedd30e4ebfd4fe33f7aed8e0187454de
|
Provenance
The following attestation bundles were made for mdformat_lists-0.0.1-py3-none-any.whl:
Publisher:
publish.yml on brendanmaguire/mdformat-lists
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mdformat_lists-0.0.1-py3-none-any.whl -
Subject digest:
1b16788464bb69f7a0f7518aa975c9ea071483324933ef673518013323ecace1 - Sigstore transparency entry: 950222347
- Sigstore integration time:
-
Permalink:
brendanmaguire/mdformat-lists@719e192e8bcfdc2c711923adf94a094991f3ecb4 -
Branch / Tag:
refs/tags/0.0.1 - Owner: https://github.com/brendanmaguire
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@719e192e8bcfdc2c711923adf94a094991f3ecb4 -
Trigger Event:
release
-
Statement type: