PRE Section for code snippet

  1. javanotes profile image60
    javanotesposted 9 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 9 years ago

    You can select preformatted in the formatting dropdown.

  3. Paraglider profile image88
    Paragliderposted 9 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!