[MacPorts] #52768: Trac: add support for syntax highlighting
#52768: Trac: add support for syntax highlighting ----------------------------+--------------------- Reporter: mojca | Owner: admin@… Type: enhancement | Status: new Priority: Low | Milestone: Component: server/hosting | Version: Keywords: | Port: trac ----------------------------+--------------------- I would like to request support for syntax highlighting in the source browser. According to [[TracSyntaxColoring]] we should probably go for Enscript which is the only one with support for Tcl (even though it's missing support for php, xml and css, but one cannot have everything). -- Ticket URL: <https://trac.macports.org/ticket/52768> MacPorts <https://www.macports.org/> Ports system for macOS
#52768: Trac: add support for syntax highlighting -----------------------------+--------------------- Reporter: mojca | Owner: admin@… Type: enhancement | Status: new Priority: Low | Milestone: Component: server/hosting | Version: Resolution: | Keywords: Port: trac | -----------------------------+--------------------- Description changed by mojca: Old description:
I would like to request support for syntax highlighting in the source browser.
According to [[TracSyntaxColoring]] we should probably go for Enscript which is the only one with support for Tcl (even though it's missing support for php, xml and css, but one cannot have everything).
New description: I would like to request support for syntax highlighting in the source browser. ~~According to [[TracSyntaxColoring]] we should probably go for Enscript which is the only one with support for Tcl (even though it's missing support for php, xml and css, but one cannot have everything).~~ The official web site of [http://pygments.org/languages/ pygments] says they support Tcl. So it might be just an outdated wiki page on Trac. -- -- Ticket URL: <https://trac.macports.org/ticket/52768#comment:1> MacPorts <https://www.macports.org/> Ports system for macOS
#52768: Trac: add support for syntax highlighting -----------------------------+------------------------ Reporter: mojca | Owner: neverpanic Type: enhancement | Status: accepted Priority: Low | Milestone: Component: server/hosting | Version: Resolution: | Keywords: Port: trac | -----------------------------+------------------------ Changes (by neverpanic): * owner: admin@… => neverpanic * status: new => accepted Comment: This is probably as simple as installing pygments, since Trac already tries to import it on startup. raimue: Any reason not to? -- Ticket URL: <https://trac.macports.org/ticket/52768#comment:3> MacPorts <https://www.macports.org/> Ports system for macOS
#52768: Trac: add support for syntax highlighting -----------------------------+------------------------ Reporter: mojca | Owner: neverpanic Type: enhancement | Status: accepted Priority: Low | Milestone: Component: server/hosting | Version: Resolution: | Keywords: Port: trac | -----------------------------+------------------------ Comment (by raimue): No objections. Although linking to the GitHub browser should now be preferred over the one in Trac in my opinion. -- Ticket URL: <https://trac.macports.org/ticket/52768#comment:4> MacPorts <https://www.macports.org/> Ports system for macOS
#52768: Trac: add support for syntax highlighting -----------------------------+------------------------ Reporter: mojca | Owner: neverpanic Type: enhancement | Status: accepted Priority: Low | Milestone: Component: server/hosting | Version: Resolution: | Keywords: Port: trac | -----------------------------+------------------------ Comment (by larryv): Agreed, but it’d also be nice for [[WikiProcessors|WikiProcessor]]-based code snippets in comments and such. {{{ {{{ #!tcl foreach word {highlight all the things} { puts $word } }}} }}} -- Ticket URL: <https://trac.macports.org/ticket/52768#comment:5> MacPorts <https://www.macports.org/> Ports system for macOS
#52768: Trac: add support for syntax highlighting -----------------------------+------------------------ Reporter: mojca | Owner: neverpanic Type: enhancement | Status: closed Priority: Low | Milestone: Component: server/hosting | Version: Resolution: fixed | Keywords: Port: trac | -----------------------------+------------------------ Changes (by raimue): * status: accepted => closed * resolution: => fixed Comment: pygments 2.1.3 now installed. Your example: {{{ #!tcl foreach word {highlight all the things} { puts $word } }}} -- Ticket URL: <https://trac.macports.org/ticket/52768#comment:6> MacPorts <https://www.macports.org/> Ports system for macOS
#52768: Trac: add support for syntax highlighting -----------------------------+------------------------ Reporter: mojca | Owner: neverpanic Type: enhancement | Status: closed Priority: Low | Milestone: Component: server/hosting | Version: Resolution: fixed | Keywords: Port: trac | -----------------------------+------------------------ Comment (by mojca): Wonderful, thank you! -- Ticket URL: <https://trac.macports.org/ticket/52768#comment:7> MacPorts <https://www.macports.org/> Ports system for macOS
#52768: Trac: add support for syntax highlighting -----------------------------+------------------------ Reporter: mojca | Owner: neverpanic Type: enhancement | Status: closed Priority: Low | Milestone: Component: server/hosting | Version: Resolution: fixed | Keywords: Port: trac | -----------------------------+------------------------ Comment (by mkae): Cool, @larryv! Thanks a lot! :-) -- Ticket URL: <https://trac.macports.org/ticket/52768#comment:8> MacPorts <https://www.macports.org/> Ports system for macOS
#52768: Trac: add support for syntax highlighting -----------------------------+------------------------ Reporter: mojca | Owner: neverpanic Type: enhancement | Status: closed Priority: Low | Milestone: Component: server/hosting | Version: Resolution: fixed | Keywords: Port: trac | -----------------------------+------------------------ Comment (by larryv): While I’m happy to take credit for anything and everything, I think you mean Rainer ;) -- Ticket URL: <https://trac.macports.org/ticket/52768#comment:9> MacPorts <https://www.macports.org/> Ports system for macOS
#52768: Trac: add support for syntax highlighting -----------------------------+------------------------ Reporter: mojca | Owner: neverpanic Type: enhancement | Status: closed Priority: Low | Milestone: Component: server/hosting | Version: Resolution: fixed | Keywords: Port: trac | -----------------------------+------------------------ Comment (by mkae): Replying to [comment:9 larryv]:
While I’m happy to take credit for anything and everything, I think you mean Rainer ;) Sorry, my bad, yes, of course, I mean Rainer! o:-)
-- Ticket URL: <https://trac.macports.org/ticket/52768#comment:10> MacPorts <https://www.macports.org/> Ports system for macOS
participants (1)
-
MacPorts