Skip to content

Guidance on Extending mdformat Configurability #441

@KyleKing

Description

@KyleKing

Context

There are a number of issues and open PRs to extend mdformat's configurablability for various use cases: #318, #381, #391, #412, #400, #438, #437, #432, #431, #359 (comment), #428, #421, #268 (comment), #262, #234 (and executablebooks/mdformat-myst#9 (comment)), #331 (comment), #332, #378, #53 (comment), #283 (comment), #261 (comment), #50, etc.

In a number of instances @hukkin has reiterated the position that mdformat should only support the minimum amount of configuration (#283 (comment)). The recommended alternative is for users to implement plugins in order to change behavior. In doing so, we should be sure to document where users have successfully demonstrated extending mdformat configuration through plugins (such as: #356 (comment))

Proposal

There should be official documentation and/or guidance to clarify what kinds of configuration belong in mdformat vs. those that should be implemented as plugins. I believe this philosophy is strongly held and should be proactively communicated. PRs and issues should be reviewed and/or closed accordingly because some have been in limbo for years.

Tasks and updates

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions