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


in reply to Re: Good Intentions: Wikisyntax for the Monastery (issue: "writeln wiki-toggle")
in thread Good Intentions: Wikisyntax for the Monastery

V1.16.0

I deactivated the document.writeln into the "Free Nodelet" and replaced it with an append to outerHTML in the form area.

The Wiki toggle is now just next to the submit buttons under the textarea.

This was on the To-Do list anyway.

Works fine in FF, please test in other browsers. :)

Update

tested in

==== Desktop

==== Mobile

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^3: Good Intentions: Wikisyntax for the Monastery (solved: "writeln wiki-toggle")
by pryrt (Abbot) on Feb 13, 2020 at 14:48 UTC
    Maybe have the <b>*Wiki?*</b> be a link back to Good Intentions: Wikisyntax for the Monastery, in case someone forgets their Wiki syntax from one visit to the next. :-)

    Also, the syntax accepted by the nodelet hack seems to be split between the spoiler of the original post and a reply (and here for https extension, and probably other posts that I haven't noticed). It makes it rather disjointed to see what's translated by the nodelet hack. It might be nice to have all the currently-valid syntax summarized somewhere in the root post (maybe in a third section alongside code and demo sections) -- or at least update demo with the additional linking options and the features like <nowiki> which have been added over time.

      Hello pryrt

      Welcome among the elite of MonkWiki-Users! ;-)

      > Maybe have the *Wiki?* be a link back to Good Intentions: Wikisyntax for the Monastery,

      Excellent idea! ;) °

      > Also, the syntax accepted by the nodelet hack seems to be split between the spoiler of the original post and a reply

      Yeah, I know ... :(

      It's because

      • a) it's work in progress and
      • b) I'm keeping the users informed about changes. (there are no update notifications in PM)
      My plan is to refactor the code in a way that it becomes self-documenting in a doc-stringish way.

      Like that the documentation would be generated by the code and would stay up-to-date.

      I also plan to add buttons to the bottom row to insert markup and pop-up the help message.

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

      UPDATE

      °) implemented

        It's always hard to keep documentation up-to-date with the actual product.

        doc-string
        Maybe you should write a POD nodelet hack that can work in conjunction with, or separately from, the Wikisyntax? ;-) It could be "fun" to alternate betweeen writing whole posts in POD and writing just the documentation for the Wikisyntax with POD syntax.

        Thanks for all your work on this.

        time to fork?