Closed shawninder closed 8 years ago
By default, Slack will auto-detect the snippet syntax based on the filename. Have you tried posting with --filename snippet.js
?
yes, I mean in the cases where auto-detection is wrong (partial files, badly named files, raw strings...)
Makes sense. Added in #31 and will be included in the next release.
If I'm posting a javascript snippet to slack, it would be nice to be able to
--syntax js
or something like that to obtain the correct syntax highlighting.