GitHub - elvirbrk/NoteHighlight2016: Source code syntax highlighting for OneNote 2016. NoteHighlight 2013 port for OneNote 2016 (32-bit and 64-bit)
Follow on Twitter for updates and general questions. For bug reports and feature requests please use Issues[1] page.
Based on NoteHighlight 2013 (https://notehighlight2013.codeplex.com[2]) and VanillaAddin (https://github.com/OneNoteDev/VanillaAddIn[3]) to create working addin for OneNote 2016 (32-bit and 64-bit)
Syntax highlighting performed using https://github.com/andre-simon/highlight[4]
To install just run MSI file from releases[5]. For Office 64-bit use NoteHighlight2016.msi, and for Office 32-bit use NoteHighlight2016x86.msi. See here[6] how to check which Office version you have.
In case AddIn doesn't show after install, check if this helps Not showing after install[7]
Add new code
- Select language from menu
- Enter source code in pop-up window and press OK
- Highlighted source code will show up in page
Format existing text or edit formatted text
- 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.
- From NoteHighlight menu select desired language
- NoteHighlight form will open with selected text
- Edit text or change formatting same as for new code
- 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\ - 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 :)
References
- ^ Issues (github.com)
- ^ https://notehighlight2013.codeplex.com (notehighlight2013.codeplex.com)
- ^ https://github.com/OneNoteDev/VanillaAddIn (github.com)
- ^ https://github.com/andre-simon/highlight (github.com)
- ^ releases (github.com)
- ^ here (support.office.com)
- ^ Not showing after install (github.com)