--

How?

How to embed (or) insert code directly on Medium using a MacBook?

Hello everyone, are you wondering on how to include your code for example Python, R, SQL, C, C++ etc on Medium application when you are trying to publish a story?

The solution for the above query is simple:-

Copy the code and paste it in your story then select (or) highlight the code and press command+option+6 at a time.                           (OR)Press command+option+6 at a time and release you will get code blocks to insert your code.

(OR)
Type ``` in a new line. You will be prompted with a code block to insert your code.

Happy coding…

--

--

Ruthvik Raja M.V
Ruthvik Raja M.V

Written by Ruthvik Raja M.V

Coding, Data Science and Business Management. Languages: Python, R. DEV Community: https://dev.to/ruthvikraja_mv, GitHub: https://github.com/ruthvikraja

No responses yet