Posting source code
-
I post code using: http://gracianotorrao.wordpress.com/2008/05/01/como-publicar-codigo-fonte/
When i insert an image and select (left alignment) in a post where i also post some sourcecode using the above link technique, things get a bit mixed up, like this: http://gracianotorrao.wordpress.com/2010/05/31/debianmyconfig-abrir-a-partir-do-navegador-de-ficheiros-com-o-botao-direito-do-rato-a-directoria-corrente-na-consola/
Showld i do some HTML editing or what?
Thanks
The blog I need help with is: (visible only to logged in users)
-
WordpPress.com have created a shortcode you can wrap around source code that preserves its formatting and even provides syntax highlighting for certain languages. See > http://en.support.wordpress.com/code/posting-source-code/
-
@tt: He is using the sourcecode shortcode.
@gracianotorrao: Apparently the sourcecode shortcode is designed to occupy the whole of the available width. Edit your post in the html editor and change it to this:
<table> <tr> <td>IMAGE CODE HERE</td> <td>REST OF CONTENT HERE</td> </tr> </table> -
- The topic ‘Posting source code’ is closed to new replies.