Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Option to Toggle Perlmonks Markup for Free Nodelet

by jrtayloriv (Pilgrim)
on Feb 18, 2008 at 17:38 UTC ( [id://668619]=monkdiscuss: print w/replies, xml ) Need Help??

I would find it very useful to be able to toggle Perlmonks specific markup for my free nodelet.

I'm writing a large amount of JavaScript in there, and it is a pain in the a$$ to have to escape every square bracket with a backtick. Not to mention that I cannot easily use tools like packer, because all of my code is polluted with backticks. This requires me to either keep a second, clean copy on hand for compressing, or manually remove all of the backticks before packing, and then reapplying them afterwards. Not good...

Is there already a way for me to do this? If not could this be implemented? Just a checkbox or something that says "Ignore PM Markup?" in the Free Nodelet Settings page.

Besides the fact that it would make me very happy, it would also have the added benefit of populating the Free Nodelet Settings page with it's very first bona fide "setting" ... :)

--jrtayloriv
  • Comment on Option to Toggle Perlmonks Markup for Free Nodelet

Replies are listed 'Best First'.
Re: Option to Toggle Perlmonks Markup for Free Nodelet
by Corion (Patriarch) on Feb 18, 2008 at 17:42 UTC
    <script href="http://somewhere.else.example/myjs.js"> is what I use for including large chunks of JavaScript into Perlmonks :-)

      Thank you Corion. But my problem with this is that, at the moment, I don't have a http://somewhere.else.example to store my own scripts on.

      Update: Actually, I didn't realize that Google provided free webspace along w/ my email account ... so now I do have a somewhere.else to link from. Thanks for jumpstarting my brain for me ...

      Update 2:And thank you as well tye, I didn't know I could do that either.
Re: Option to Toggle Perlmonks Markup for Free Nodelet (<!--)
by tye (Sage) on Feb 18, 2008 at 17:53 UTC

    Put the javascript inside an HTML comment and you shouldn't have to escape any square brackets.

    - tye        

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2024-04-23 08:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found