in reply to Re^15: Making Perl Monks a better place for newbies (and others)
in thread Making Perl Monks a better place for newbies (and others)

Not my experience, the code is only complicated because of the wiki mark up and link transformations.

Paragraphs are easy.

We've created several 1000 posts since 2016 and I know no case of <p> inserted in code blocks.

But my approach is quite different to Everything's which sometimes creates weird results.

I'd say mine is some percent better.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

Replies are listed 'Best First'.
Re^17: Making Perl Monks a better place for newbies (and others)
by Your Mother (Archbishop) on Feb 08, 2020 at 23:47 UTC

    It *really* depends. I have written code that does this: markdown-ish auto-formatting inside/beside putative HTML. It is not trivial and unless you are willing to reject, or be highly opinionated about what to do with, “broken” content it gets harder; especially to be able to give meaningful feedback about what was wrong. I also think the world does not need another flavor of markdown or wikisyntax.

    I think it’s worth trying to do. The biggest impediment for me to hacking on PM as-is is that I can’t just download and build a local copy where I can be stupid or experimental or whatever.

      Some of the things I implemented are probably better left to voluntary nodelet hack apps.

      I don't think choroba or Discipulus use */_ for emphasizing . (ask them?)

      The casual user would rather prefer to select text and to click on a button.

      > And I'm probably the only one using this quote style with an > at the beginning of a line.

      But auto paragraphs and auto linking of internal and external http://address.es plus Mo::dul::es is fun.

      Anyway, leaving it to a JS feature which can be individually activated and configured shouldn't be an issue in 2020.

      edit

      Especially as JS could also allow to preview in real time.

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

        I frequently use asterisks for emphasizing, rarely slashes. I've never used underscore.

        map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
      > I also think the world does not need another flavor of markdown or wikisyntax

      Well there is wikicreole

      Anyway I have no intention to expand Everything with wiki markup.

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

        ++ Did not know…

      > I have written code that does this: markdown-ish auto-formatting inside/beside putative HTML

      I hope it's clear that this is what I implemented.

      OnSubmit is JS creating new HTML-tags beside old ones.

      OnLoad is JS purging the new tags from the textarea again, such that only the old ones are visible.

      Just trying it out may be the simplest explanation.

      --> Wikisyntax for the Monastery

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

        Buttons for debugging and tryout beat onload
      "The biggest impediment for me to hacking on PM as-is is that I can’t just download and build a local copy.."

      Why is that not possible?