Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Insert an Inline Code with Back Tics do not work in Medium.com

Tags:

medium.com

Following this Blog: https://medium.com/blogging-guide/how-to-insert-a-code-block-or-inline-code-into-a-medium-article-7b697bd12e0a

It should be simple to add inline Code with Back Tics (`).

However it does not work for me - it only displays the back tics as characters:

enter image description here

Is there something that I miss?

like image 493
pme Avatar asked Nov 01 '20 14:11

pme


People also ask

How do I add an inline code in medium?

For inline code in a paragraph, type a single backtick ` to begin and end your code. Or highlight some text and press the backtick key. Note: Code blocks do not support syntax highlighting. To embed code with syntax highlighting on Medium, try using Github Gists, Codepen.io, or JSfiddle embeds.

How do you add codes to a medium article?

To embed code directly in your medium articles, just press: Windows : ctrl+alt+6. Mac : command+option+6. Linux : ctrl+alt+6.

What is inline code?

What Does Inline Code Mean? Inline code refers to any lines of code that are added in the body of a program. It can be any type of code written in any programming language. The inline code executes independently and is usually executed under some condition by the primary program.


2 Answers

If you are using other than "Standard US English Keyboard" then medium formatting options may vary.

For instance, I am using ABC-QWERTZ layout on my mac.

enter image description here

For me:

  • To enter into inline code block:

                      [Single backtick + space key] worked.
    

  • To come out from inline code block:

                      [Single backtick key]
    

Start writing after pressing key.


On U.S. Keyboard:

  • To enter into inline code block:

                      [Single backtick].
    

  • To come out from inline code block:

                      [Single backtick key]
    

Note: When you want to add inline block in the middle of sentence, add one space before pressing single backtick.

like image 193
maryam mehboob Avatar answered Nov 19 '22 06:11

maryam mehboob


For me none of the backtick solutions worked, but at least for code blocks (not inline code between two words)

ALT + CMD + 6

did the job.

For MAC Users:

+ + 6

like image 38
Jochen Holzer Avatar answered Nov 19 '22 08:11

Jochen Holzer