How to Embed Code in Medium?

Tamil KannanCV
Jun 12, 2022

--

Embedding code in Medium can be done easily in 2 ways.

  1. Embed code directly in Medium

To embed code directly in medium, type in Command+ Option+6 (if you use mac)

If you use other OS, this is what you got to type:

  • Windows: Ctrl + Alt + 6
  • Linux: Ctrl + Alt + 6

When these keys were press, the box below will appear

<paste code here>

2. Embed using GitHub Gist

Goto “Your gists”

To do this, log in to your Github profile and go to ‘your gists’.

<script src="https://gist.github.com/TamilKannanCV/97c0704983f4212f32b652d1d6165e8c.js"></script>

This is how it looks in Medium

Thanks for reading this blog. Do share and follow for more stuff like this.

--

--