Ticket #428 (closed enhancement: wontfix)

Opened 8 years ago

Last modified 8 years ago

JavaScript syntax highlighting in Wiki and Tickets

Reported by: anonymous Owned by: akaEdge
Priority: lowest Milestone:
Component: Documentation Version:
Severity: normal Keywords: syntax highlight javascript
Cc:

Description

It would certainly be nice, considering the majority of Xinha is JavaScript?, for the Xinha WikiFormatting to support JavaScript? syntax highlighting... I checked and this is available for Trac, so it should be a simple addition/installation of the JavaScript? highlighting package, I think. See here

I don't know how better to classify this than I already have.

Change History

Changed 8 years ago by anonymous

See this http://trac.openlayers.org/ticket/47 for how to use mime-type to implement this.

{{{
#!text/x-javascript
x = function (a) {
    var b = alert("Hi"); // Comment well!
}
}}}
x = function (a) {
    var b = alert("Hi"); // Comment well!
}

Changed 8 years ago by gogo

  • status changed from new to closed
  • resolution set to wontfix

Indeed the way our anonymous friend posts will do it. And we don't have the ability to modify this trac install anyway.

Note: See TracTickets for help on using tickets.