Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Any sort of "global" conversion like  s/(?:\r?\n|\r){2,}/<P>/g; would of course need to apply only to regions that are outside of code tags. Maybe the PM source code would support this with little or no fuss, but I haven't seen the code, so I don't know.

Personally, most of my time and effort during PM posting is in spent thinking about what I'm writing, and crafting my words, code and presentation to be as clear as I can; so holding down the shift key for a fraction of second while I type  <P> might not be a big enough issue to warrant someone else spending many hours to simplify it for me.

(update: you do know, of course, that the "P" can be upper-case, don't you?)

(another update {geez, why can't I just leave this alone?}: Any sort of change like this would need to be backwards compatible, both with the established archive of posted data, and with the established habits of many monks. If the approach for such a change requires the elimination of paragraph tags, it won't work. For that matter, if the above substitution were applied to the existing archive, it might have "unintended consequences" -- paragraph breaks appearing where node authors did not intend to put them. Things could get weird and tricky...)

In reply to Re: better wiki-like shortcuts. by graff
in thread better wiki-like shortcuts. by Courage

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    [erix]: ah! Those germans again! ... they have a lot to answer for ;-)

    How do I use this? | Other CB clients
    Other Users?
    Others studying the Monastery: (8)
    As of 2018-06-19 09:10 GMT
    Find Nodes?
      Voting Booth?
      Should cpanminus be part of the standard Perl release?

      Results (111 votes). Check out past polls.