keepnote-extensions icon indicating copy to clipboard operation
keepnote-extensions copied to clipboard

Update: Syntax highlight

Open henshin opened this issue 8 years ago • 4 comments

This is an update to the not-yet-approved but awesome syntax highlighter developed by @mehdidc. Credits of the development go to him. However there were some issues with the implementation:

  • Keepnote was removing HTML encoded entities
  • Keepnote was removing multiple spaces and tabs
  • Both of these issues were messing up the code badly
  • I also set the language bar to always auto focus each time we open the window

henshin avatar Sep 20 '16 16:09 henshin

Any progress on this? Can we help with anything?

kchr avatar Jun 29 '17 13:06 kchr

It's working for me :) Using it everyday without issues. Let me know if you find any.

henshin avatar Jul 01 '17 17:07 henshin

On Sat, Jul 01, 2017 at 10:36:26AM -0700, Tiago Sintra wrote:

It's working for me :) Using it everyday without issues. Let me know if you find any.

Thanks for the quick response!

I couldn't get it to run properly on a Windows 7 machine at my first attempt, but it is probably related to my limited knowledge on Windows, in particular combined with a Python environment...

Will give it a shot on my Linux workstation this week.

kchr avatar Jul 02 '17 17:07 kchr

Yeah I tried to get it working on Windows but I've ran into some issues as well. Specifically, you will need to have Python with pygments module installed. On Linux it's works great though. That's what I use most.

henshin avatar Jul 02 '17 21:07 henshin