> Also, for a moment i thought "wouldn't it be nice if pm could remind you to put codes tags on your stuff when it detects you posted perl code".

actually, I was thinking of mentioning this too.

In the end you only need a heuristic to recognize perl-code (easy) or data (consecutive short lines), this heuristic can be trained with the 100_000 older posts with code tags.

> But half the requests in SoPW are too badly written to be recognized as Perl even by the perl interpreter.

It's possible to run Perl::Tidy in server mode, i.e. without start-up overhead its pretty fast.

It's also possible to add an extra display-format where the reader decides between raw and formatted code.

But that's all fantasy, there are only two gods left who keep this running.

Pmdevs were bugging them already for years to patch a serious JS backdoor in the markup format.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery


In reply to Re^6: Markdown is now supported for comments, experimentally by LanX
in thread Markdown is now supported for comments, experimentally by jdporter

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!
  • 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, details, 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, summary, 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.