winget install --id=elvirbrk.notehighlight2016 -e
Source code syntax highlighting for OneNote 2016.
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
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
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 :)
samples directory Theme Samples