When posting source code blocks using language parameter stops code displaying.
-
I have posted two blocks of code using this format:
[code language='python']
your code here
[/code]And all my code displayed correctly. However, when I try to display another block of code using the same syntax it doesn’t display correctly. However, when I don’t include the language parameter (that is really all I changed) is displays fine. So like this, works
[code]
your code here
[/code]But I want all the blocks to have python syntax highlighting. It seems very weird that it works for some of the blocks but not others. Any ideas what might be the problem? Help greatly appreciated.
The blog I need help with is: (visible only to logged in users)
-
Can you perhaps make a draft page or post that demonstrates that and then let us know the name of that post or page so that we can take a look at it? You do not have to publish it, just save it as a draft.
- The topic ‘When posting source code blocks using language parameter stops code displaying.’ is closed to new replies.