# Inline code blocks in code fence mode

**URL:** <https://meta.discourse.org/t/inline-code-blocks-in-code-fence-mode/48833>\
**Category:** Bug\
**Created:** [August 18, 2016, 10:04pm UTC](https://meta.discourse.org/t/inline-code-blocks-in-code-fence-mode/48833 "2016-08-18T22:04:27Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [August 23, 2016, 4:15am UTC](https://meta.discourse.org/t/inline-code-blocks-in-code-fence-mode/48833/17 "2016-08-23T04:15:25Z")

</div>

Why is this confusing?

- If you select text that is less than a single line use single ticks for inline code. Regardless of the setting, single ticks is correct for inline code with no carriage returns or line feeds in it.

- if you select multiple lines of text, use either triple back ticks or indent method depending on site setting.

---

_[View the full topic](https://meta.discourse.org/t/inline-code-blocks-in-code-fence-mode/48833)._
