a thoughtful web.
Good ideas and conversation. No ads, no tracking.   Login or Take a Tour!
comment by briandmyers
briandmyers  ·  4496 days ago  ·  link  ·    ·  parent  ·  post: Hubski (and a lot of the internet) is broken!
mk, any comment?

Is there an easy way to paste in a block of text from elsewhere, and not have the formatting (i.e. the line-feeds) lost?





mk  ·  4496 days ago  ·  link  ·  
The easiest at the moment is to paste it, and add two spaces before each line.

  He is that fallen lance that lies as hurled,
  That lies unlifted now, come dew, come rust,
  But still lies pointed as it ploughed the dust.
  If we who sight along it round the world,
  See nothing worthy to have been its mark,
  It is because like men we look too near,
  Forgetting that as fitted to the sphere,
  Our missiles always make too short an arc.
  They fall, they rip the grass, they intersect
  The curve of earth, and striking, break their own;
  They make us cringe for metal-point on stone.
  But this we know, the obstacle that checked
  And tripped the body, shot the spirit on
  Further than target ever showed or shone.

  -Robert Frost
But that is suboptimal. I'd love to see if someone is doing it right, and I'd try to do the same. I haven't really looked into it, but I will now. There may be a nice way to set up an equivalent to the two spaces which would require much less effort.

If you know of a site that that does it, let me know.

EDIT: I think I might have found a trick. I'll give it a shot tomorrow.

briandmyers  ·  4496 days ago  ·  link  ·  
Many thanks. I have some old plain-text (from Usenet, and years ago) that I'd like to share, but it's hundreds of lines long, so I'd prefer not to have to massage every line to preserve the formatting.
mk  ·  4495 days ago  ·  link  ·  
Ok, we should be good.

Beneath Blessington's eyes The reclaimed Paradise Should be free as the former from evil; But if the new Eve For an Apple should grieve, What mortal would not play the Devil.

-Lord Byron

Line breaks should be retained. Let me know if you find anything buggy with it.

You can still do the alternate as well:

  Beneath Blessington's eyes
  The reclaimed Paradise
  Should be free as the former from evil;
  But if the new Eve
  For an Apple should grieve,
  What mortal would not play the Devil.
  
  -Lord Byron