Listings: Add code listings

You can add code listings to your Manuscript. The listings are presented in syntax-highlighted form, based on the programming language you select.

  1. From the main menu, select Insert > Listing.
    This inserts a placeholder for the listing.

    Listing Placeholder
  2. Click the placeholder to open the listing popup and type or paste in your listing.
  3. 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.

    Adding a listing