NoteHighlight2016 logo

NoteHighlight2016 CodingRoad

Use this command to install NoteHighlight2016:
winget install --id=elvirbrk.notehighlight2016 -e

Source code syntax highlighting for OneNote 2016.

NoteHighlight2016 is an add-in for Microsoft OneNote 2016 and OneNote for Office 365 that enables source code syntax highlighting. It enhances productivity by allowing users to insert formatted code snippets directly into their notes, improving readability and organization of technical content.

Key Features:

  • Language Support: Highlights syntax for a wide range of programming languages, including Python, Java, C#, JavaScript, and more.
  • Theme Customization: Offers various color themes to match user preferences or document styles.
  • Seamless Integration: Works effortlessly within OneNote, supporting both 32-bit and 64-bit versions.
  • Ease of Use: Features a pop-up window for code input, allowing users to format text directly or modify existing code blocks.
  • Cross-Platform Availability: Available for installation via winget, ensuring accessibility across different operating systems.

Audience & Benefit: Ideal for developers, technical writers, and anyone needing to document code within OneNote. By providing clear, syntax-highlighted code snippets, NoteHighlight2016 enhances the clarity and professionalism of notes, making complex information more accessible and visually appealing.

README

NoteHighlight2016

Alt text

GitHub releaseGithub Releases Github previous Github All Releases

Follow @NoteHighlight Follow on Twitter for updates and general questions. For bug reports and feature requests please use Issues page.

Based on NoteHighlight 2013 (https://notehighlight2013.codeplex.com) and VanillaAddin (https://github.com/OneNoteDev/VanillaAddIn) to create working addin for OneNote 2016 and OneNote for O365 (32-bit and 64-bit)

Syntax highlighting performed using https://gitlab.com/saalen/highlight

Install

To install just run MSI file from releases. For Office 64-bit use NoteHighlight2016.msi, and for Office 32-bit use NoteHighlight2016x86.msi. See here how to check which Office version you have.

In case AddIn doesn't show after install, check if this helps Not showing after install

Usage

Add new code

  1. Select language from menu
  2. Enter source code in pop-up window and press OK
  3. Highlighted source code will show up in page

Alt text

Format existing text or edit formatted text

  1. Select text that you want to format or edit (you can select whole or only part of note). In case part on note is already formatted, you can select whole source code box.
  2. From NoteHighlight menu select desired language
  3. NoteHighlight form will open with selected text
  4. Edit text or change formatting same as for new code

Additional languages

  1. Go to installation folder and find file ribbon.xml and open it with text editor Default installation folder: C:\Program Files (x86)\CodingRoad\NoteHighlight2016\ or C:\Program Files\CodingRoad\NoteHighlight2016\
  2. Edit property "visible" from "false" to "true" for languages that you want to use. It is necessary to restart OneNote for changes to take effect

It is also possible to add new languages (supported by highlight tool) by adding new rows to ribbon.xml but if you need new language then you are smart enough to figure it out :)

Sample of Themes

samples directory Theme Samples

Versions
3.7
3.6
Website