用 Sublime 记 Evernote 笔记,可以高亮,但是有点繁琐。
除此之外,网上有两个方法:
一是,用 ST(装 SublimeHighlight)或 UltraEdit 或 Notepad++的 copy rtf 的方式
参见:
https://www.zhihu.com/question/20974568/answer/17735551
https://discussion.evernote.com/topic/86766-a-scriptadd-on-to-colorize-code-in-evernote
二是,用http://syntaxhighlight.in搭配这个Syntax-highlight-style 脚本。
参见:
http://bigbytetech.ca/how-to-paste-formatted-code-into-evernote
这俩方法,出来的效果,都很满意。
但是,发这帖的目的,不是分享方法,而是这俩在我这儿都有问题:
方法一,粘贴到 Evernote 后,会多出额外空格。演示 GIF
方法二,光标不能移动到代码块内,否则 Evernote 就 FC 。演示 GIF
希望有感兴趣的 V 友,能测试下,在你机子上正不正常。或者你有更好的方法?谢谢。