Just thought I'd through that out!
There's an "xml" view link above every node.
this is code...line 1 and line 2... and a last line of 'code'
[ inside (non-linking) square_brackers ]:
and inside [id://524496] brackets linking to an op (not selected for relevance)
Now, scroll up to the top of this page and try the xml linkThats a bug. Its not clear where from but I intend to find out.
/me seeks mechanic for adjustment of brain.
ABSOLUTELY! Dear, gentle future readers: please note demerphq's wisdom and if you wish to see the xml of the sample stuff above, please view the thread, not the node.
RULE NUMBER 1: Think, rethink, twist ambiguities around in you mind... and THEN, AND ONLY THEN (after after thinking some more) speak!
Occasionally I've desired this for a better quoting. Generally I just copy and paste with the mouse. Personally I don't see any particular risk with such a thing in any case, since what gets written in the code source is public in any case - that is: I know about e.g.
Heres a tip: in Firefox, you can select something on the page, then pick View Selection Source from the contetx menu, and youll 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.
if somebody posted:
post-increment <code>$i++</code> is blahblah
i would like to copy & paste exactly this source.
I didnt say that. Its 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, thats much less painful than it would be to copy-paste only text and mark it up from scratch. For cases where youd have to fix up a lot of markup, the extra step of going through the XML displaytype pays off.
Makeshifts last the longest.
'bare' is already assigned and it isn't a displaytype, so let's not overload that term.
Besides, 'bare' doesn't fit well. 'source' would be better. Or 'input' or 'asentered' or 'rawtext'...
Note that whether you get nodelets etc. around this would be separately controlled (by 'style=bare' or not).
- tye
perlmonks.org content © perlmonks.org and ambrus, Aristotle, blazar, demerphq, tinita, tphyahoo, tye, ww, ysth
prlmnks.org © 2006 edmund von der burg (eccles & toad)
v 0.03