in reply to Re: Perlmonks idea: Examine post code (view only)
in thread Perlmonks idea: Examine post code (view only)

Here’s a tip: in Firefox, you can select something on the page, then pick “View Selection Source” from the contetx menu, and you’ll get a source view window where the bits you selected on the page are also selected. Nice and easy for copying.

Makeshifts last the longest.

  • Comment on Re^2: Perlmonks idea: Examine post code (view only)

Replies are listed 'Best First'.
Re^3: Perlmonks idea: Examine post code (view only)
by tinita (Parson) on Jan 21, 2006 at 12:11 UTC
    you mean if i view the source of a post with firefox i can see tags like <code> and <spoiler>? how would firefox know about these tags?

    if somebody posted:
    post-increment <code>$i++</code> is blahblah
    i would like to copy & paste exactly this source.

      I didn’t say that. It’s just a way to get marked up text, and even if you have to change one or two tags from raw HTML to their PM equivalents, that’s much less painful than it would be to copy-paste only text and mark it up from scratch. For cases where you’d have to fix up a lot of markup, the extra step of going through the XML displaytype pays off.

      Makeshifts last the longest.