Opened 9 years ago

Closed 8 years ago

#428 closed enhancement (wontfix)

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 (2)

comment:1 Changed 9 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!
}
}}}
Error: Failed to load processor text/x-javascript
No macro or processor named 'text/x-javascript' found

comment:2 Changed 8 years ago by gogo

  • Resolution set to wontfix
  • Status changed from new to closed

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.