ontometrics / slack-youtrack

Integration of slack and you track.
49 stars 14 forks source link

ability to control message formatting to slack #2

Open dszabo opened 9 years ago

dszabo commented 9 years ago

It'd be a nice feature if I was able to control how the messages are sent to slack with slack formatting (for example, the message content should be sent between three and three backticks in order to display as a code block on the slack channel) like this:

would be nice to display the posted content as a code block
codeslubber commented 9 years ago

Do they support that now? I thought when I looked at their API while writing this that was not supported. Will look again.

codeslubber commented 9 years ago

Just looked and code blocks are supported.

dszabo commented 9 years ago

yes, they do. also, I noticed that you replace curly braces to [ and ]. Any particular reason for that? I am guessing that otherwise it causes issues to slack's json data?