http://qs321.pair.com?node_id=1153876


in reply to Good Intentions: Wikisyntax for the Monastery

Todos in the pipline / wishlist

General
More Features

... to be continued...

Requested

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

Replies are listed 'Best First'.
Re^2: Good Intentions: Wikisyntax for the Monastery (ToDo)
by GotToBTru (Prior) on Jan 28, 2016 at 15:21 UTC
    *The* first word in the post can't have the bold/italic/underline formatting. Unless there's a space or empty line before it. If it's an empty line, that line disappears after previewing, and then the formatting stops working. A single space will remain.

    I don't mean to whine; I like this immensely.

    But God demonstrates His own love toward us, in that while we were yet sinners, Christ died for us. Romans 5:8 (NASB)

      Yeah I know I got used to adding a space before the first line and after the last.

      I already mentioned that problem, but ...

      ... I did'nt want to expand the regexes to other whitespaces for that ATM because that's a PITA to test in different browsers.

      It might become configurable in the future, but without guaranty whatsoever.

      Anyway the "bold/italic/underline formatting" isn't that important for me, being able to avoid <p> while typing in my mobile is already worth it. ;-)

      Naming this PM extension a "wiki" might be a misnomer/marketing error though... ;-)

      Cheers Rolf
      (addicted to the Perl Programming Language and ☆☆☆☆ :)
      Je suis Charlie!

      > If it's an empty line, that line disappears after previewing,

      this certainly looks like a bug, THANK YOU! :)

      UPDATE

      So it's not my wiki code causing it.

      I tested as anomonk and the content of the textarea is trimmed from surrounding newlines.

      maybe it's the monasteries codebase ... maybe a firefox thing.

      for the time being, please use an extra whitespace.

      Cheers Rolf
      (addicted to the Perl Programming Language and ☆☆☆☆ :)
      Je suis Charlie!

      First word works now, also does the last
Re^2: Good Intentions: Wikisyntax for the Monastery (ToDo)
by moritz (Cardinal) on Jan 29, 2016 at 08:40 UTC
      Actually I've always had in mind that a server side Perl version might be needed and put effort into realizing the logic as a cascade of RegExes.

      RegExes in JS are 98% based on the Perl4 standard. ( exceptions are things like [^] )

      So it shouldn't be too difficult and fun too.

      Cheers Rolf
      (addicted to the Perl Programming Language and ☆☆☆☆ :)
      Je suis Charlie!

Re^2: Good Intentions: Wikisyntax for the Monastery (ToDo)
by GotToBTru (Prior) on Feb 24, 2016 at 19:11 UTC

    What is the intended use of the wiki checkbox in CB?

    But God demonstrates His own love toward us, in that while we were yet sinners, Christ died for us. Romans 5:8 (NASB)

      To be able to switch the wiki transformation manually on or off.

      It could be better placed below the textarea, but this was already mentioned in the todo list.

      NB : it's not in the CB but in the Free Nodelet.

      Cheers Rolf
      (addicted to the Perl Programming Language and ☆☆☆☆ :)
      Je suis Charlie!