Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: Markdown is now supported for comments, experimentally

by cavac (Parson)
on Jun 10, 2021 at 14:13 UTC ( [id://11133732]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Markdown is now supported for comments, experimentally
in thread Markdown is now supported for comments, experimentally

No, not afraid of that happening. In fact, i'm very thankful for all the people working on improving Perlmonks.

I just thought it would be a good idea to mention that some of us... older folks are more familiar with the "classic" way to mark up text on the internet. Whichever route you go, sooner or later one of those new-fangled "graphical" editor thingies on top of one of the syntax parsers would be a nice-to-have.

I'm not an expert, but i did implement CKEditor 4 into my blog editor. I would be glad to lend my experience and my hacked codebase to the effort of implementing a "What you see is what you probably get" graphical editor thing.

perl -e 'use Crypt::Digest::SHA256 qw[sha256_hex]; print substr(sha256_hex("the Answer To Life, The Universe And Everything"), 6, 2), "\n";'

Replies are listed 'Best First'.
Re^4: Markdown is now supported for comments, experimentally
by LanX (Saint) on Jun 10, 2021 at 14:18 UTC
    > to mention that some of us... older folks are more familiar

    The main reason why there are no JS add-ons happening here are preferences of older folks.

    > implement CKEditor 4

    sic

    edit

    > the "classic" way to mark up text on the internet.

    The best mark-up is no mark-up at all.

    90% here just need <p> (and <code> )

    auto-P after "\n\n" is trivial and would reduce a big deal of the janitor actions.

    All other features are only relevant for the <10% regular posters.

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

      The main reason why there are no JS add-ons happening here are preferences of older folks.

      Uh, yes. Come to think of it, i might be one of those people who dislike websites that takes ages to load because of JavaScript. I think it's best we ignore my feature request.

      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". But half the requests in SoPW are too badly written to be recognized as Perl even by the perl interpreter. And the stuff over at Obfuscation is, most of the time, not even recognizable as Perl to experienced humans. So that's another non-starter.

      Oh well. But thanks for taking the time answering my questions/suggestions!

      perl -e 'use Crypt::Digest::SHA256 qw[sha256_hex]; print substr(sha256_hex("the Answer To Life, The Universe And Everything"), 6, 2), "\n";'
        > 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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11133732]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2024-04-19 23:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found