Add code formatting to your story

Great for coding tutorials!

Gregory Claeyssens avatar
Written by Gregory Claeyssens
Updated over a week ago

The text in a story is the base of everything, which you can style with images, videos, and lead capture forms. If you write articles that include code, you can also add this format.


Code blocks

If you need your code to be shown in a full block use the code block icon or press CTRL/CMD + SHIFT + J

Alternatively, you can start a new line and type ``` (3x backtick) to begin. You can now type your code. Press Enter when you are finished to have it formatted as a code block. Use Shift+Enter to add a new line of code and Enter again to finish.

Inline code

Select the text you want to highlight as inline code and press the inline code button or press CTRL/CMD + J.

πŸŽ‰ You're done, grab a coffee, you deserve it! Check out the next steps below for more in-depth guides or follow-up actions


πŸ“š Next steps

Did this answer your question?