Permalink
Browse files

return the result in a code block

The syntax for a code block in Slack is the same as in GFM, so three backticks should trigger it.
  • Loading branch information...
1 parent f2fb6a3 commit 479ea88060a7caa43ba0b30c4bf31cd2bb25a6b0 @Haroenv Haroenv committed Jun 5, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 connection.py
View
@@ -9,7 +9,7 @@
def hello():
q = request.values.get('text')
result = str(db.query(q))
- return result
+ return "```\n"+result+"\n```"
if __name__ == "__main__":
port = int(os.environ.get('PORT', 5000))

0 comments on commit 479ea88

Please sign in to comment.