View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0004318||mantisbt||feature||public||2004-08-12 06:14||2017-07-12 05:03|
|Summary||0004318: Code tag for bugnotes|
Additional [code] [/code] tag for bugnotes and other text fields to have a formatted output for code snippets.
See attachment for an example from another board. They have two different code tags, one for code and one special tag for php and html with syntax highlighting.
|Tags||No tags attached.|
The HTML "pre" tag is supported.
This is my first try (see last attached image) - any comments?
Very cool, how does it know the language... it it is c, html, php, java, etc? something like:
edited on: 08-24-04 15:16
For now I realize it like this:
There are several code syntax highlighters available. Maybe we could include one of them in Mantis. GeSHi might fit the bill. http://qbnz.com/highlighter/
Well, GeShi should do for most purposes, although it's not always the fastest. But as long as there aren't postet complete 100kb source files it should do fine. I really would like to see Mantis using GeSHi; vice versa it's already the case g
P.S.: I'm contributor\maintainer of the Delphi\Object Pascal language for GeSHi
Unassigned after having been assigned for multiple years without progress.
Ideally we should have a 1.2.x plugin that integrates GeShi with MantisBT.
|2004-08-12 06:14||bpfennig||New Issue|
|2004-08-12 06:14||bpfennig||File Added: code_tag_example.jpg|
|2004-08-12 06:16||jlatour||Status||new => acknowledged|
|2004-08-12 06:16||jlatour||Relationship added||child of 0004181|
|2004-08-12 06:28||thraxisp||Note Added: 0006963|
|2004-08-21 13:25||bpfennig||File Added: code_highlighter.jpg|
|2004-08-21 13:26||bpfennig||Note Added: 0007099|
|2004-08-21 13:27||bpfennig||Assigned To||=> bpfennig|
|2004-08-21 13:28||bpfennig||Status||acknowledged => assigned|
|2004-08-24 15:13||DGtlRift||Note Added: 0007145|
|2004-08-24 15:16||DGtlRift||Note Edited: 0007145|
|2004-08-24 16:11||bpfennig||Note Added: 0007146|
|2006-03-02 06:46||ryandesign||Note Added: 0012262|
|2006-03-02 12:02||BenBE||Note Added: 0012270|
|2006-10-25 11:20||onad||Note Added: 0013645|
|2007-03-30 03:59||giallu||Relationship added||related to 0007859|
|2009-06-13 04:05||siebrand||Note Added: 0022123|
|2009-06-13 04:05||siebrand||Assigned To||bpfennig =>|
|2009-06-13 04:05||siebrand||Status||assigned => new|
|2009-06-15 03:39||vboctor||Status||new => acknowledged|
|2009-06-15 03:40||vboctor||Note Added: 0022160|