Step by step implementation

Jump to: navigation, search
Revision as of 17 October 2010 at 13:32.
The [/index.php?title=Talk:KMail/FAQs_Hints_and_Tips&offset=20101017133243&lqt_mustshow=602 highlighted comment] was created in this revision.

In this section, a script is reproduced using syntax highlighting. The advantage of this is, that apparently all processing of text is turned off, so no problems with pipe characters. The disadvantage is, that all indentation is lost. I tried to fix this, first using Template:Tab, and when that didn't work I tried inserting & nbsp; directly, but that didn't work either.

Since the pipe character problem can be solved by replacing them with Template:!, I wonder whether it would not be better to forgo syntax highlighting in order to have proper indentation?

    Claus chr10:42, 17 October 2010

    Thats basically an issue with html. each space gets removed when rendering. I wonder how that could be solved.

      Neverendingo12:04, 17 October 2010

      It was an css issue. I fixed it now.

      Regarding to your script snippett: the regexp at the almost bottom of the script encapsulate a " char between ' and `. This causes wrong color for the rest of the script.

        Pipesmoker14:32, 17 October 2010
         
         
        KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal