Article Prettify: Code blocks
- Custom Themes
To add a block of code to the article, click Code block in the formatting panel of the article:
Insert your code in the gray area that appears.
With the Article Prettify enabled, different elements of the code will be highlighted. This was done to help read the code faster and easier.
Here's what HTML and JS code is going to look like: