Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

comment on

( [id://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":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2024-04-18 10:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found