-
-
Notifications
You must be signed in to change notification settings - Fork 146
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
Can comrak
format directories recursively?
#376
Comments
I'd be happy to accept such a feature. There are some questions to be pondered, though:
|
Also;
I'm not so sure about that. Comrak is heavily depended-upon in crates.io; I don't have any figures for how many folks are invoking it directly at the CLI, but I'd be surprised if it was anywhere near as many as direct + indirect library users. |
I agree with it. Do you mind if I implement it? Also, do you think we can make Comrak a formatter for VS code (an extension like Black, Prettier, etc.) by this mode? Then we can call Comrak for a specific file by CMD + Shift + P -> Format Document. This may be an alternative approach avoids issue (1) and (2). |
That would be lovely; thank you!
Yep, that should be relatively(?) simple! I don't know the exact procedure for making such an extension, but I imagine we'd either supply binaries for the relevant architectures, or even use WASM for this (we already do a WASM build as part of CI) — presumably there are other VS Code extensions that do similar. |
Just as
cargo fmt
behaves.Since most users prefer
comrak
for blogging rather than Rust development, it may not be suitable for them.Perhaps we can provide the function via a parameter such as
-r
.The text was updated successfully, but these errors were encountered: