Help talk:Adding a new programming example: Difference between revisions
Content added Content deleted
(Syntax highlighting problems with Ada) |
(→Syntax Highlighting: Blocks are fine.) |
||
Line 1: | Line 1: | ||
===Syntax Highlighting === |
===Syntax Highlighting === |
||
I tried adding syntax coloring to Ada programs. The results were very disappointing. Some of the reserved words were highlighted. Some were not. All indentation was lost. Am I required to put the highlighting tags around each line individually, or should I be able to apply syntax highlighting to a whole block of text? -- Waldorf |
I tried adding syntax coloring to Ada programs. The results were very disappointing. Some of the reserved words were highlighted. Some were not. All indentation was lost. Am I required to put the highlighting tags around each line individually, or should I be able to apply syntax highlighting to a whole block of text? -- Waldorf |
||
:Yeah, I'm not particularly impressed with the highlighter. It seems to give inconsistent results...It definitely needs work. You can put the <nowikie><highightSyntax></nowiki> tags around blocks of text. --[[User:Short Circuit|Short Circuit]] 07:13, 21 February 2007 (EST) |
Revision as of 12:13, 21 February 2007
Syntax Highlighting
I tried adding syntax coloring to Ada programs. The results were very disappointing. Some of the reserved words were highlighted. Some were not. All indentation was lost. Am I required to put the highlighting tags around each line individually, or should I be able to apply syntax highlighting to a whole block of text? -- Waldorf
- Yeah, I'm not particularly impressed with the highlighter. It seems to give inconsistent results...It definitely needs work. You can put the <nowikie><highightSyntax></nowiki> tags around blocks of text. --Short Circuit 07:13, 21 February 2007 (EST)