Posting code with Syntax Highlighting on GeoNet

Document created by xander_bakker on Aug 23, 2016Last modified by xander_bakker on Jun 24, 2017
Version 2Show Document
  • View in full screen mode

When you post code, expand the toolbar:


In the expanded toolbar, click more and Syntax highlighter:


Select the language (for instance Python):



Paste you code:



Click OK in the lower part of the screen


And the code will appear with the correct format:

22 people found this helpful