Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Posting Perl sniglets to Wordpress blogs?

by blue_cowdawg (Monsignor)
on Feb 11, 2013 at 19:36 UTC ( [id://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?

Replies are listed 'Best First'.
Re: Posting Perl sniglets to Wordpress blogs?
by moritz (Cardinal) on Feb 11, 2013 at 21:00 UTC
Re: Posting Perl sniglets to Wordpress blogs?
by MidLifeXis (Monsignor) on Feb 11, 2013 at 19:44 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 (Monsignor) 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
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-25 23:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found