massivedanger / protagonist

A Twine story format with power!
ISC License
33 stars 5 forks source link

Add Syntax Highlighting #7

Open callym opened 9 years ago

callym commented 9 years ago

Adding (javascript) syntax highlighting in the editor would make the code a lot easier to read.

Harlowe has somehow managed it, I think the relevant code is here.

evanwalsh commented 9 years ago

Yeah, that'd be awesome to add! I didn't even know formats could affect the editor.

X-Raym commented 7 years ago

@evanwalsh Hi ! Any news about this feature implementation ? It would be great to have it :)

X-Raym commented 7 years ago

Discussion here : Color Synthax HighLight to Custom Story Format - Twine Forum

evanwalsh commented 7 years ago

No news regarding this. I'm not using Twine these days, so I haven't spent much time with Protagonist. You're welcome to give it a go, though!

X-Raym commented 7 years ago

@evanwalsh thanks for your answer ! I tried but I was stuck at the "integrated the color syntax" steps. Seems a bit too complicated for me at this moment. So, if anyone else want to try... feel free to do it !