Loading ...
Sorry, an error occurred while loading the content.

Preformatted text

Expand Messages
  • Sharon Kimble
    I m using nanoblogger v 3.4.2 and have just posted an entry to my blog which includes two bash scripts that I copy/pasted into the entry. But when its
    Message 1 of 3 , Jul 16, 2012
    • 0 Attachment
      I'm using nanoblogger v 3.4.2 and have just posted an entry to my blog
      which includes two bash scripts that I copy/pasted into the entry. But
      when its published it loses all the preformatting and looks terrible!
      Can anyone tell me how to preformat the scripts or keep the pasted
      format?

      Thanks
      Sharon.
      --
      A taste of linux = http://www.sharons.org.uk/taste/index.html
      efever = http://www.efever.blogspot.com/
      efever = http://sharon04.livejournal.com/
      Debian 6,0.5, Gnome 1:2.30+7, LibreOffice 3.5.5
      Registered Linux user 334501
    • Charles Curley
      On Mon, 16 Jul 2012 14:32:20 +0100 ... Enclose the scripts in tags. E.g.:
      Message 2 of 3 , Jul 16, 2012
      • 0 Attachment
        On Mon, 16 Jul 2012 14:32:20 +0100
        Sharon Kimble <skimble04@...> wrote:

        > Can anyone tell me how to preformat the scripts or keep the pasted
        > format?

        Enclose the scripts in <pre></pre> tags. E.g.:
        http://charlescurley.com/blog/archives/2010/04/11/pre_a_package_scanning_script/index.html

        --

        Charles Curley /"\ ASCII Ribbon Campaign
        Looking for fine software \ / Respect for open standards
        and/or writing? X No HTML/RTF in email
        http://www.charlescurley.com / \ No M$ Word docs in email

        Key fingerprint = CE5C 6645 A45A 64E4 94C0 809C FFF6 4C48 4ECD DFDB
      • Sharon Kimble
        Charles Curley brilliant thanks, its now sorted and looks so much better! Thanks again Sharon. ... -- A taste of linux =
        Message 3 of 3 , Jul 16, 2012
        • 0 Attachment
          Charles Curley
          brilliant thanks, its now sorted and looks so much better!

          Thanks again
          Sharon.

          On 16/07/2012, Charles Curley <charlescurley@...> wrote:
          > On Mon, 16 Jul 2012 14:32:20 +0100
          > Sharon Kimble <skimble04@...> wrote:
          >
          >> Can anyone tell me how to preformat the scripts or keep the pasted
          >> format?
          >
          > Enclose the scripts in <pre></pre> tags. E.g.:
          > http://charlescurley.com/blog/archives/2010/04/11/pre_a_package_scanning_script/index.html
          >
          > --
          >
          > Charles Curley /"\ ASCII Ribbon Campaign
          > Looking for fine software \ / Respect for open standards
          > and/or writing? X No HTML/RTF in email
          > http://www.charlescurley.com / \ No M$ Word docs in email
          >
          > Key fingerprint = CE5C 6645 A45A 64E4 94C0 809C FFF6 4C48 4ECD DFDB
          >
          >
          > ------------------------------------
          >
          > Yahoo! Groups Links
          >
          >
          >
          >


          --
          A taste of linux = http://www.sharons.org.uk/taste/index.html
          efever = http://www.efever.blogspot.com/
          efever = http://sharon04.livejournal.com/
          Debian 6,0.5, Gnome 1:2.30+7, LibreOffice 3.5.5
          Registered Linux user 334501
        Your message has been successfully submitted and would be delivered to recipients shortly.