How to post source code
-
Hi,
I would like to post source code on my blog. I found how to do it but it does not work.
Do I install a plugin or upgrade in order to make it work?The blog I need help with is: (visible only to logged in users)
-
Hi!
The main method for posting source code to your blog is through wrapping the text in code tags. The method is laid out here:
http://en.support.wordpress.com/code/posting-source-code/
Can you give that a try?
-
Hi!
I have seen it but it doesn’t work. I’m trying to post powershell code.
Could the reason be that it is not a self-hosted blog. Instead it is hosted at WordPress.com -
Hi,
Can you make sure you’re wrapping the code in the specific code tags? Otherwise, the code will be stripped. It will need to be formatted like this:
[code]Insert code here[/code]Also, please make sure you’re in the Text Editor when you give this a try:
Let me know if you have any trouble!
-
Hi,
Now I got it to work! The problem was not the text editor but I thought it was
textthat I should use instead of [Code]text[/Code]
Cheers! -
- The topic ‘How to post source code’ is closed to new replies.