[sourcecode] tag not working properly after I embed an image? What gives?
-
I created a post yesterday and added some R code examples using the [sourcecode] tag (which usually produces a nice visual representation of my R code); however, in this instance, instead of converting the text to a nice looking code example, the site does not handle the tag properly and just displays the tag: “[sourcecode]” and then “[sourcecode]”. To see what I mean, I’ve posted a link to the blog post in question…. what gives?
The blog I need help with is: (visible only to logged in users)
-
The tag isn’t working because you’ve typed a space between the opening bracket and the word.
And ideally the tag should be:
[sourcecode language="r"] -
-
I’m having trouble getting the [sourcecode] wrapper to work, too. No extra spaces within the brackets as far as I can tell — see my post here:
http://itp.nyu.edu/~ek1669/blog/?p=442
It is Processing code and I was trying to display it as Java. Any ideas on what I can do to fix this?
- The topic ‘[sourcecode] tag not working properly after I embed an image? What gives?’ is closed to new replies.