Inline code blocks in code fence mode

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.

4개의 좋아요