Follow these steps to add the code:
- Open the article editor.
- Click on the "Source code" button as show the below.

- Paste one of the following examples of code to the code editor.

- Edit the text as desired.
- Click on the "OK" button. It will close the modal window.
- Continue editing an article as usual.
- Save and publish the changes.