5

I'm sorry for having to make a post to ask this, but I looked in all the documentation. If there's a link with finite details on posting techniques/code, please provide! Thanks.

I simply want to emulate what four spaces engages via code snippets, but I'd like to know how to include these snippets inline with text rather than a block like the four spaces enables.

7
  • 2
    stackoverflow.com/help/formatting Commented May 6, 2015 at 1:42
  • @KevinPaulKalis I didn't know meta.* existed. Thanks for that. Commented May 6, 2015 at 2:12
  • @MadsHansen Thanks for this URL. Commented May 6, 2015 at 2:12
  • test Testing to see if code works in comments. Pretty sure it's turned off. Commented May 6, 2015 at 2:18
  • test <br/> test Commented May 6, 2015 at 2:18
  • How can we see which SO code will work in comments? inline code snippets seem to work. Commented May 6, 2015 at 2:19
  • No HTML works in comments. Comments only support "mini-markdown", which includes bold, italic, inline code formatting, and links. Commented Jan 15, 2017 at 17:34

1 Answer 1

17

Use backticks (`) to create inline code, like this (produced by `this`).

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.