mdformat icon indicating copy to clipboard operation
mdformat copied to clipboard

Option to specify path to configuration file

Open pawamoy opened this issue 1 year ago • 5 comments

Context

Follow-up of #263. Now that config files are supported, I'd like to be able to specify a different path for the config file. The reason is that I put all tools config files into a config folder (name is not important), and call linting tools from my task runner, which takes care of passing the right path to the config file.

Proposal

Adding a simple option to the CLI like mdformat -f config/mdformat.toml (-f because -c is more similar to --check). Long option could be --config or --config-file.

Tasks and updates

No response

pawamoy avatar Apr 14 '24 16:04 pawamoy

Thanks for opening your first issue here! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Welcome to the EBP community! :tada:

welcome[bot] avatar Apr 14 '24 16:04 welcome[bot]