Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Posting Perl sniglets to Wordpress blogs?

by blue_cowdawg (Monsignor)
on Feb 11, 2013 at 19:36 UTC ( #1018222=perlquestion: print w/ replies, xml ) Need Help??
blue_cowdawg has asked for the wisdom of the Perl Monks concerning the following question:

Dear Fellow Monks:
I have a blog site that I run under Wordpress and found an odd effect when posting Perl code to it even inside a "pre" tagset. Anymonk out there use Wordpress and post code to it? What theme are you using or what hacks are you using?


Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg

Comment on Posting Perl sniglets to Wordpress blogs?
Re: Posting Perl sniglets to Wordpress blogs?
by MidLifeXis (Prior) on Feb 11, 2013 at 19:44 UTC
Re: Posting Perl sniglets to Wordpress blogs?
by moritz (Cardinal) on Feb 11, 2013 at 21:00 UTC
SOLVED: Re: Posting Perl sniglets to Wordpress blogs?
by blue_cowdawg (Monsignor) on Feb 11, 2013 at 21:35 UTC

    OK: I found a solution for this. It's a plugin called "Crayon Tag Editor" and after some fooling around I got the darn thing to work. So, I haven't put my "how-to" up yet, but I will.


    Peter L. Berghold -- Unix Professional
    Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg
Re: Posting Perl sniglets to Wordpress blogs?
by Sinistral (Prior) on Feb 12, 2013 at 15:12 UTC

    If you are a GitHub user, you can use the Embed GitHub Gist plugin to do so. That will give you a nicely formatted code block with many options.

    If you just want to use the WordPress editor and write your code, I've had good luck with SyntaxHighlighter Evolved and WP-Syntax. You just have to pick which one you like best. Oh, and at this very moment, I'm using the Twenty Twelve Theme. I'm looking at some other responsive ones (including Frank), but haven't pulled the trigger yet.

      Just so happens I have to rebuild my blog from scratch. The host that hosted my blog has crashed hard and for the final time. Will be minting a total of three blogs on a new host.


      Peter L. Berghold -- Unix Professional
      Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2014-10-22 02:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (112 votes), past polls