Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

Title:
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!
  • 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
  • Outside of code tags, you may need to use entities for some characters:
            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?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others chanting in the Monastery: (4)
    As of 2014-07-31 00:40 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      My favorite superfluous repetitious redundant duplicative phrase is:









      Results (242 votes), past polls