Content

My Other Accounts

Dopplr Facebook Flickr GitHub Google Talk LinkedIn Twitter

Photo Albums

« Typepad | Main | Merge PDFs easily with Perl »

March 15, 2010

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a0120a63366ed970b0120a939e66a970b

Listed below are links to weblogs that reference Syntax Highlighting in Typepad:

2 Reblogs

  • Syntax Highlighting in Typepad
  • Syntax Highlighting in Typepad

Comments

Feed You can follow this conversation by subscribing to the comment feed for this post.

Walter Almeida

Hello
nice post, was helpfull for me to include syntax highlighting on my blogs

However it does not work as expected in Internet Explorer: try it with your own blog: no break lines. all the code is displayed on one line...
Any idea?

Walter Almeida

Actually the problem seems to come from the "code" tag: if you keep the "pre" tag: everything works fine. Therefore there must be something to change in the SyntaxHighlighter code to fix that issue...

However I have not reproduced the issue you are talking about: The TypePad editor rebuiling the tags. Seems fine. What is the exact scenario that causes typepad to break the tags?

dams

@Walter : thanks for reposting. The issue with the pre tag is that in the Typepad editor, if you are in "rich text" mode, the Editor will escape the pre tags with lt; and gt; stuff...

At least it does that for me ! Have you a better working editor ? I'd be interested to see what you get.

About the "code" tag : indeed it doesn't look good in Internet Explorer. I'll try to fix it

Walter Almeida

@Damien,

Thanks for your answer. Yes I did reproduce this very annoying problem with the pre tag on TypePad...

I unfortunately don't have a better editor. Still I am staying with the pre tag as the result is still better than the code tag problem on Internet Explorer...

I have submitted an issue on alex gorbatchev web site but still no answer.

If you manage to fix the problem I will be very happy to hear your results!

The comments to this entry are closed.