Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: Good Intentions: Wikisyntax for the Monastery

by LanX (Saint)
on Oct 19, 2016 at 08:06 UTC ( [id://1174279]=note: print w/replies, xml ) Need Help??


in reply to Re: Good Intentions: Wikisyntax for the Monastery
in thread Good Intentions: Wikisyntax for the Monastery

I think this is close to what you want.

I have only to find a way to make nowiki invisible in output but persistent in edit mode.

<nowiki> <pre> perl -we 'say' </pre> </nowiki>


<nowiki>

 

perl -we 'say' 

</nowiki>

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

Replies are listed 'Best First'.
Re^3: Good Intentions: Wikisyntax for the Monastery
by choroba (Cardinal) on Oct 19, 2016 at 08:13 UTC
    Wrap it in <!-- ... -->?

    ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
      Yes it's possible, but it breaks the orthogonal approach how I combine features.

      I have to think about the best maintainable way in this "framework".

      for instance what has priority when parsing? <c> or <nowiki> ?

      And more importantly, would you use <nowiki> ?

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

Log In?
Username:
Password:

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

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

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.