How to Embed Code in Medium?
Embedding code in Medium can be done easily in 2 ways.
- 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
To do this, log in to your Github profile and go to ‘your gists’.
This is how it looks in Medium
Thanks for reading this blog. Do share and follow for more stuff like this.