-
Notifications
You must be signed in to change notification settings - Fork 7
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
Ability to set the type of snippet #1
Comments
Actually the chat.postMessage method does not have an option to send a code snippet (or i cannot see it). |
Also when sending files they are recognized automatically by their extension i think. |
Thanks for the awesome plugin, @simion! Based on my reading of the It looks like with It also seems that Maybe I’m mistaken? My Python is pretty limited, or else I would try to test this myself. |
@mattparcher Honestly, I thought about this method, to upload a file containing the current selection and the name of the file you selected code from. This way, you will have automatic syntax highlighting. As a workaround, I've added "pre" wrappers, temporarily. http://simionbaws.ro/sublime-slack/sublime-slack-preformatted-text/ Soon, i will implement your suggestion. Thanks for your feedback. |
In Slack now you can specify the type of the snippet (PHP, JSON, etc). Any way to add a way to set that (or recognize it automatically) when sending files and stuff ?
The text was updated successfully, but these errors were encountered: