Project

General

Profile

Use javascript in wt app

Added by Stefano Fattore about 1 year ago

Good morning,
I need to produce some kind of syntax highlight in an object of type Wt::WtextArea.

I tried various solutions but to no avail, so I thought of using javascript and in particular Prism.js but I can't figure out how to include the sources in the 'head' section of my generated html file.

Am I doing something wrong?
Is there any way to do this syntax highlight?

I apologize if the question may be stupid, it's my first approach to Wt and certain things are still not clear to me.
Thank you.