When you are writing an article, you may want to incorporate a code style for specific content. This can be accomplished in two ways.
A text field with Code run
Use this option when you only need to format individual words as code.
1. Add a text field
![](https://media.screensteps.com/image_assets/assets/001/389/946/original/510f91d4-75bd-48d5-b61d-37e6ebcaf428.png)
2. Modify format
- Highlight the text
- Select the code option
![](https://media.screensteps.com/image_assets/assets/001/389/942/original/45ebc23a-db3f-4986-8c0c-42df41d4dd4c.png)
Here's what it looks like
![](https://media.screensteps.com/image_assets/assets/001/389/950/original/36d1acb6-be06-454d-b0a7-9dca2884d0c7.png)
A Code Block
Your second option is to add a code block.
![](https://media.screensteps.com/image_assets/assets/001/389/948/original/e2ddaa72-c8b0-4b2a-a50a-d85887f2e4db.png)
The entire field of text will be styled as code. The default color is black, and cannot be changed in the editor.
![](https://media.screensteps.com/image_assets/assets/001/389/936/original/5a15dd4f-32c4-4a2b-98cf-6c8d229e70ac.png)
0 Comments
Add your comment