注:本文参考了 http://blog.csdn.net/yy228313/article/details/56835399
1 查看系统版本
安装时一定要注意版本,文件--》账户--》关于OneNote
2. 下载资源
http://download.csdn.net/download/duzejie/10149865
3 安装
For Office 64-bit use NoteHighlight2016x64.msi, and for Office 32-bit use NoteHighlight2016x86.msi. See
here
how to check which Office version you have.
如果是64位office,安装 NoteHighlight2016x64.msi;
如果是32位office,安装 NoteHighlight2016x86.msi。
4 使用
如果菜单中不出现
NoteHightLight,请执行
步骤 **,
在使用的过程中如果
NoteHightLight消失,请执行
步骤 **。
步骤 **
文件--》选项--》信任项--》管理:转到,出现如下窗口--》勾选“NoteHightLight”--》确认。
PS:如果"COM加载项”窗口中没有NoteHighLight,则是插件版本安装错误。
5 添加代码
步骤1:选择语言类型
步骤2:编写代码
步骤3:OK
or
选中代码后,点击相应代码高亮按钮。
6 效果图
附录:
NoteHighlight2016 英文使用说明
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
- 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
Additional languages
- Go to installation folder and find file ribbon.xml and open it with text editor
- 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 :)