Medium | Code Blocks & Inline Code

Medium supports ❤️ inline codes and code blocks in blog posts. 🎉

Halil Özel
3 min readDec 20, 2022
Medium | Code Blocks & Inline Code

Hellooooo, 👋 If you are one of those who read and write articles on Medium, I think you must have wondered how to add in-code lines or code blocks that attract your attention. Today I will give you information about adding them. Let’s start learning. 🚀

Inline Code ℹ️

When I started blogging 📃 on Medium, I was sharing codes like sharing plain text. Readability was pretty bad. 😔 Later, I researched 🔎 more effective ways of doing this job and realized that Medium offers many good opportunities to us as developers. 💻

It is used in paragraphs to highlight inline short-codes or to highlight important concepts. To use Inline Code, you must use the (`) back-tick character.

For Example: Android Developer — Halil Ozel

Back-tick character, Option + ; You can view it as Alt + 96 on Windows devices.

💻 I mentioned that the back-tick (`) character is used for Inline Code on Mac devices, but it may differ depending on the type of keyboard used. In the TR-Q…

--

--