This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-02-24
Channels
- # admin-announcements (1)
- # aleph (3)
- # announcements (4)
- # beginners (30)
- # boot (296)
- # cider (21)
- # cljsjs (2)
- # cljsrn (18)
- # clojure (124)
- # clojure-poland (23)
- # clojure-russia (4)
- # clojurescript (73)
- # core-async (58)
- # css (3)
- # datomic (31)
- # editors (4)
- # emacs (35)
- # euroclojure (3)
- # hoplon (104)
- # immutant (8)
- # jobs (3)
- # jobs-discuss (1)
- # keechma (1)
- # ldnclj (33)
- # leiningen (5)
- # liberator (1)
- # mount (20)
- # off-topic (2)
- # om (104)
- # onyx (54)
- # parinfer (80)
- # proton (1)
- # re-frame (59)
- # remote-jobs (1)
- # ring-swagger (9)
- # slack-help (15)
- # spacemacs (7)
- # yada (12)
@roti: If you click on the +
to the left of the input box, it will give the option to create a snippet. A lot of people also use Gists (on GitHub) if they want others to be able to fork and/or edit code for discussion. http://refheap.com is another option (built with Clojure/ClojureScript I believe?).
Also, if you paste multiple lines into the input box, I think it will automatically offer to make a snippet out of it — but that may depend on how you have Slack configured (I know that multi-line code entered with three backticks is treated as separate messages by default which is silly and you have to change the default!).
You mean
Something like
this inline in the
message?You’ll need to ensure that option is enabled in your Slack client: https://www.dropbox.com/s/17ki0mn0bh9yve6/Screenshot%202016-02-24%2011.18.18.png?dl=0
Then you can type three backticks
and some code
and more code on a new line
and then three backticks
and the rest of your message.Yup. Mostly.
I’m not sure if it understands specific code flavors tho’… I suspect not…