You can add code listings to your Manuscript. The listings are presented in syntax-highlighted form, based on the programming language you select.
- From the main menu, select Insert > Listing.
This inserts a placeholder for the listing.
- Click the placeholder to open the listing popup and type or paste in your listing.
- Click the arrows in the lower lefthand corner to open the language dropdown, then select the matching language.
If you do not immediately see the language you want in the menu, select one of the alphabetical ranges a the bottom of the list, for more options. Once you select a language, your code will be formatted for that language.