-
Notifications
You must be signed in to change notification settings - Fork 122
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
Allow ability to specify language #59
Comments
Hey @Samreay, sorry for the late response, I somehow completely missed this — my bad! :) It currently indeed will be ignored when set manually. I’m collecting feature requests, enhancements, bugs, etc. that will ship with I will update you on when Thanks for opening and the idea! |
👋 do you accept PRs on this? |
+1 would love having this feature |
So, I’m finalizing the big Specifying a language will work out of the box in The question now is, is that enough? I feel like it’s definitely sufficient and solves this problem. The only “overhead” on the user’s end is that it is bound to a preset, aka. it won’t work without a preset that has an associated Example preset that will work with
If you’re unsure what language values Carbon’s site understands, they’re basically all values from This would also work with Generally, I’m not a big fan of adding custom command line arguments like This potentially opens up the gate to having to add more and more options over time that are solely relevant to Carbon itself, and I’d ideally like people to continue using presets for that. If we end up adding While I definitely understand that any form of “batch processing” of hundreds or thousands of screenshots would indeed benefit from a What are your thoughts on this? Thanks in advance! @Samreay @julianrubisch @feluelle @FrancescoSaverioZuppichini |
For my use-case the preset is sufficient. Thank you! :) I agree. I would not start adding carbon args as carbon-now-cli args, if not really necessary or highly requested. I would consider this as done if v2 allows to configure it (and it is released). |
As I’m finalizing the huge To install the
Docs 🚀 for Happy testing and using! Looking forward to your feedback! P. S: I’m almost embarrassed about how long it took me to start working on |
@feluelle Thanks a ton for your response. Feel free to test this out (see my comment above.) 🙂 |
Hi team, I notice in the settings, that you cannot manually specify the language.
Which is frustrating, because if you are trying to extract code snippets from a markdown file, or a Jupyter notebook, or any file which doesnt have the right extension, you do not get the correct formatting. It would be great if we could specify this manually, instead of my current solution (which is to ignore the ability to take snippets, write my own code that does the snippeting and saving to a temporary file before deleting said file). I get why you may not want it in the preset or config (because that should be language agnostic), but having it as a command line argument when invoking would be great! If its already there and Ive simply missed it when reading the docs, I apologise :)
The text was updated successfully, but these errors were encountered: