To add a code to a page, do the following.
☝ Note: You can select the language you want at once. Just click on the block menu and select the desired language from the list.
In Nimbus Note, you can choose a theme for the code that is perfect for daytime or nighttime use.
In addition to Bold or Italic, Nimbus Note has other ways to highlight text, such as Inline code.