source code highlighting problem
-
I want to post source code, so i try:
[code]
class Person(models.Model):
name = models.CharField(max_length=50)
address = models.ForeignKey('Address', unique=True)
[/code]But when I post my blog entrance. I see the html code of wordpress:
<span style=”font-weight: 400;”>class Person(models.Model):</span>
<span style=”font-weight: 400;”> name = models.CharField(max_length=50)</span>
<span style=”font-weight: 400;”> address = models.ForeignKey(‘Address’, unique=True)</span>
The blog I need help with is: (visible only to logged in users)
- The topic ‘source code highlighting problem’ is closed to new replies.