Fixing the Code Format of OTN Java Articles

Version 2

    Some of our articles have code formatting issues. It's going to take us a while to fix those issues. In the meantime, you can request access to edit your article by adding a thread Community Feedback (No Product Questions) . I will grant you edit rights.


    Here are the steps to follow to fix the code:


    • Click Edit on the right hand sidebar
    • In the html code editor, remove <pre> tags

             (Find and remove all <pre> before the code and </pre> after the code)

    • In the text editor, highlight the code to reformat
    • Click on  >>  and select SYNTAX HIGHLIGHTING
    • From the drop down menu, select Java

    Screen Shot 2016-08-18 at 2.29.00 PM.png

















    • You will need to manually format the code in the text editor