Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Good Intentions: Wikisyntax for the Monastery

by Discipulus (Abbot)
on Feb 12, 2016 at 09:03 UTC ( #1155054=note: print w/replies, xml ) Need Help??


in reply to Good Intentions: Wikisyntax for the Monastery

Ok before i forget this: it seems that three code elements in a row are not displaying correctly.

For example

'one' 'two' 'three'
is displayed as one 'two' three

I was also wondering if you can add punctuation ( .,:;)(!? ) as boundary in addition to withespace. I'm using your wiki syntax in every post. thanks

L*

There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

Replies are listed 'Best First'.
Re^2: Good Intentions: Wikisyntax for the Monastery
by LanX (Archbishop) on Feb 12, 2016 at 10:07 UTC
    Hi

    Thanks for feedback! =)

    regarding code sections:

    Problem is that JS has no lookbehind assertion for regex.

    In order to keep it simple and compatible I'm grabbing the surrounding white spaces too.

    If you separate your code by more then one whitespace it works again.

    'one'  'two'  'three'

    one two three

    please note how HTML ignores multiple whitespace.

    (This is a very contrived example anyway don't you think? ;)

    I could solve this with at least one look ahead assertion, though I'm not sure about incompatibilities. (on todo list now)

    Please keep in mind that you can still use the old and consistent markup.

    The wiki stuff is more a mix of DWIM and Huffman coding, not a complete replacement. =)

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

Re^2: Good Intentions: Wikisyntax for the Monastery
by LanX (Archbishop) on Feb 12, 2016 at 10:11 UTC
    > I was also wondering if you can add punctuation ( .,:;)(!? ) as boundary in addition to withespace. 

    Yes I was thinking about this, but than we need a new mark up for doc links

     ?print? print

    Suggestions?

    update

    But please be aware that the problem with look around assertions strikes here again.

    I have no problem with coding this, but testing would be a pain. ..

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

      I think # is faster to type but question mark is definitively more related to documentation. I'd go for it.

      PS sorry i'v a bit misunderstood (question mark yet used for doclinks). # as for comments? or = as for POD?

      Also a comprensive cheetsheet will be useful at the end of your OP

      L*

      There are no rules, there are no thumbs..
      Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2019-11-19 12:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (95 votes). Check out past polls.

    Notices?