ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Main Area and Open Discussion > Living Room

Sci-fi novel now available from DC member kyrathaba!

<< < (143/186) > >>

kyrathaba:
It is "WP-GeSHi-Highlight" by Jan-Philip Gehrcke, version 1.1.0

website: http://gehrcke.de/wp-geshi-highlight/

From this page, I know my argument is correct following the opening <pre ...

wraith808:
Hmmm... not sure past that.  Your syntax looks right...

My suggestion: life's too short to try to debug an extension when you're doing things right, and there are several options out there.

I'd try http://wordpress.org/plugins/crayon-syntax-highlighter/ :)

kyrathaba:
Installed Crayon plug-in. Used the Crayon button on the editor to enclose my code in tags:

<pre class="font-size:9 lang:c# decode:true " >
.
.
.
a closing pre tag here


Still get this:




So, it must be some other setting problem within my Wordpress config, that's causing it to all be put on a single line?

wraith808:
Hmmm... try to copy the code to a plain text editor, then copy it back.  What you're trying to do is remove any extraneous characters that might be affecting the output. 

If that doesn't work, I'm not sure.  I've not seen that before... :(

I'll try it on my blog...

rgdot:
If you haven't tried it yet ... sometimes, despite what is 'normal', these things should be pasted or typed in WordPress' text input and the not visual one

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version