Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do you add code samples to Stride massages?

Hipchat used to have the "/code" tag to allow for plain text code to be sent in messages, how the [bleep] do you do that in Stride?

It's not necessary to have all the fancy bolds, italics, and underlines, but the sending of code, that's bloody critical. 

3 answers

1 accepted

If you type: ``` then stride creates a Codeblock.

Good...Jist now i checked and its working.

OMFG THANK YOU! This is amazingly useful and it's been driving me nuts that I did not know how to do this. Finding the info in docs is impossible too :(

Sean Waters Atlassian Team Jun 08, 2018

you can also do an inline code block by surrounding your code snippet with single backticks.  So if you wanted to tell someone to run a cmd like `rm -rf /*` but didn't want to want to make a whole code block with line numbers and such you can do that and have it print out in monospace with a gray background to highlight just what bit is code.

Hi @Cat Richards

Welcome to the Community!

Yes, Hipchat we have the more options to format the data rather than the Stride.

In Stride only we can do the Bold, Italic and Underlines. for more information please have a look at the below article.

https://confluence.atlassian.com/stride-documentation/format-messages-939921143.html

I tried using "command + shift + m" to created a code block in Stride and try to paste my json code, but the input box flashes orange.

I try using "```" then past my json code, and it flashes orange.

I try pasting it normally, and it flashes orange.

How could you screw up one of the most important features of Hipchat?!?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Stride

Stride and Hipchat Cloud have reached End of Life (updated)

All good things come to an end - thanks to all our customers and partners who have been along the Hipchat and Stride journey with us.  As of Feb 15th 2019, Hipchat Cloud and Stride have reached ...

2,422,235 views 26 26
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you