There’s a number of ways to insert code into your stories.

For native hosting:

Alternatively, you can simply copy and paste a link for code hosted on GitHub, CodeSandBox and CodePen - and then hit enter. The code will automatically display.


Something we didn't cover? Search the site by clicking 🔍 at the top right of any page. Or email us at

yes-reply@hackernoon.com ✌️