DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: We need here a better Syntax Highlighter  (Read 6,199 times)

crono

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 179
We need here a better Syntax Highlighter
« on: May 08, 2006, 07:58 PM »
the [ code ] Tags just arent engough for a Site with a lot of Code. There should be at least Highlighter for the languages in the Coding School section... what du you think? Is there a "Code Highlighter" out there, which can export its code to BB Code as well?

Redhat

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 254
Re: We need here a better Syntax Highlighter
« Reply #1 on: May 08, 2006, 11:31 PM »
I would say this is a good idea. Nice thinking  :up:

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: We need here a better Syntax Highlighter
« Reply #2 on: May 09, 2006, 12:04 AM »
this is a good idea i think..
with line numbering also.

what i think would be nice would be

[pastebin=php]
blah blah php code
[/pastebin]

or

[pastebin=c++]
blah blah c++ code
[/pastebin]


i think to make a programming section on simplemachine.org forum extensions so you programmers can start helping to write extensions to this forum :)

i'll put it on the todo like i think it's a very good idea.

Redhat

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 254
Re: We need here a better Syntax Highlighter
« Reply #3 on: May 09, 2006, 12:08 AM »
this is a good idea i think..
with line numbering also.

Yes, numbering would be great  :up:

crono

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 179
Re: We need here a better Syntax Highlighter
« Reply #4 on: May 09, 2006, 12:39 AM »
Maybe it can be done clientside - do you know http://www.dreamprojections.com/SyntaxHighlighter/ ? It's one of the best Highlighter I've ever used :-)
« Last Edit: May 09, 2006, 12:43 AM by crono »

Original address: https://www.donationcoder.com/forum/index.php?topic=3552.0