Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting to stop autoformat (of specific changes/in specific files) #1484

Open
DaniBodor opened this issue Nov 22, 2024 · 0 comments
Open

Setting to stop autoformat (of specific changes/in specific files) #1484

DaniBodor opened this issue Nov 22, 2024 · 0 comments

Comments

@DaniBodor
Copy link

Proposal

It would be great if it were possible to:

  • turn off auto-formatting on save, either for specific formatting rules and/or for all rules
  • turn off the extension and/or specific rules for specific files or file spaces

Other information

I have a codebase where the documentation is made using mkdocs. These files require some specific indentation/line breaks that this extension keeps changing. I generally use prettier to handle the formatting of my mardown files, where I have precise control over which rules to apply to which files. However, vscode-markdown is overriding some of my settings and autoformatting the files in a way that I dont want (this does not happen if I disable the extension).
At the same time, the codebase still contains a README file and a few other "standard" md files, for which I appreciate the TOC like features this plugin offers.

Right now, as far as I can see from the documentation, I either need to turn off the extension for the entire workspace, or manually toggle the on/off switch for this extension whenever working on those files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant