[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Highlight.js available as a XPath extension functi
I didn't know Pygments, it seems great. At Oxiane, we've developed a
slide editor that entirely runs in a browser, without any servide-side
component. That's great to use, both for writing or for presenting. But,
for our classes, we need a PDF version of slides, and we wanted a
text-oriented PDF, where text can be copied and pasted. As code
highlighting was done by highlightJS in editor tool (OS-slides !) -
which is not yet open-sourced - I wanted to use exactly the same
highlighter...
You complain about forking processes, but embedding a GraalJS engine in Java is not the best solution either... but I load only once GraalJS engine per Processor object ! We have to organize a highlighting-race for our tools ! See you, Christophe Le 03/07/2020 C 08:10, Norman Tovey-Walsh ndw@xxxxxxxxxx a C)critB : Christophe Marchand cmarchand@xxxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> writes:Highlight JS is a well known javascript library that is able to highlight source code in a HTML page.Very nice, Christophe. I just recently finished coding up an extension function to call the Pygments syntax highlighter. Ibll make that available later this month.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|