Category talk:Template

From SME Server

Is there a way to add PHP, Shell, Perl and Python templates like MythTV? And syntax highlighting (colorizing)?

Some links: [1] [2] [3] [4] [5] [6]

I use in my wiki test the link 4 4

You can see the great results at:

The good news is not necesary to add extra space at the begining of line when write the code into "<source>" tags.

--Normando Hall 22:54, 24 April 2007 (EDT)

I have not implemented the source code templates at the moment, as I saw not much use for it.

Sourcecode highlihting is a tool for explaining and reading sourcecode as a programmer, as the Wiki mainly is ment as a documentation system, I do not see any use for syntax highlighting in this Wiki. IMHO syntax highlighting should be kept to a minimum (especially in this Wiki). I think it is not relevant to use syntax highlighting as not much scripts are (to be) used in this Wiki. - Cactus 02:46, 25 April 2007 (EDT)

Ok. Any way I see various howtos in this wiki that has bash, perl, sql and apache code. I don't know why not add this little mod to the wiki. Only geshi and one php file is necesary [7] for make more beatufy and readable code.

Thanks for your attention. --Normando Hall 14:00, 25 April 2007 (EDT)

These make the wiki look Ace !

The Code box would be useful in a few places, eg. when your dumping text

Snoble 01:38, 15 June 2007 (EDT)