PRE Section for code snippet

  1. javanotes profile image52
    javanotesposted 10 years ago


    When making a tutorial with programming code, it's not very readable because all the tabs are gone (example: ).

    So an option for keeping tabs (<PRE></PRE>) would be useful.


  2. pauldeeds profile image
    pauldeedsposted 10 years ago

    You can select preformatted in the formatting dropdown.

  3. Paraglider profile image95
    Paragliderposted 10 years ago

    Hi Paul -

    I've not had much success with 'preformatted'. It works on a line by line basis, but pasting a block of text doesn't work. Only the first line is preformatted - successive lines are unformatted.

    Fortunately, for block text, Heading 4 works well!