7

I am currently running macOS Sierra (10.12.6) and was wondering if there is an easy way to format code (like there is for Title, Heading, etc.) in Apple's Notes app?

I'm open to any workarounds to achieve this. I would like to have syntax highlighting as you would see in a text editor (like Atom or Sublime).

8

Notes in macOS High Sierra includes a Monospaced format.

In addition to the existing format types such as Title, Heading and Body, there is a new format named ‘Monospaced’. This format is a variation of the Body format but with a monospaced font family.

macOS High Sierra Hidden Features, Notes.app

  • Is the only way to solve this problem to upgrade to High Sierra? – Jack Moody Jan 12 '18 at 22:02
  • 1
    This formats wehole paragraph. Cannot select a single word and format as monospace, quite annoying. – Oleg Jan 4 at 11:48
  • WARNING: Notes cannot handle code, even in Mojave! It will replace certain characters inside your code (' changes to ´ etc.), add hidden line breaks etc., in sum it's unusable for code documentation. – Sliq Feb 1 at 9:54
0

Note: I am in no way connected to any of these software.

Free Options

Boostnote is an open source project for writing notes with syntax highlighting. This is a good free alternative to using the native Notes app if you aren't against downloading an additional application.

Boost Application

Paid Options

Quiver provides features like LaTeX support, syntax highlighting, customizable themes, cloud syncing, and version control. As of writing this, it costs $9.99.

Quiver app

Bear provides syntax highlighting, easy exports (to PDF, .docx, HTML, JPG, etc.), multiple themes, and syncing through iCloud. As of writing this, it costs $1.49 per month (if paid monthly) or $14.99 per year (if paid annually). If paying monthly, you will get a free one week trial. If paying yearly, you will get a free one month trial.

Bear app

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .