You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When reformatting indented code blocks, I'd like to have an option to set the default language added to the fenced code block that mdformat creates.
I habe a lot of old documentation with indeded code blocks, and 99% of them are sh lang, which I manually need to add after reformatting.
Proposal
Add an option to the config file like:
fenced_lang = sh
Which will automatically use
```sh
instead of
```
when reformatting indented code blocks.
Tasks and updates
No response
The text was updated successfully, but these errors were encountered:
Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗
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).
Context
When reformatting indented code blocks, I'd like to have an option to set the default language added to the fenced code block that mdformat creates.
I habe a lot of old documentation with indeded code blocks, and 99% of them are
sh
lang, which I manually need to add after reformatting.Proposal
Add an option to the config file like:
Which will automatically use
instead of
when reformatting indented code blocks.
Tasks and updates
No response
The text was updated successfully, but these errors were encountered: