Syntax HIglighter for my blog post is published in article as raw html
-
I recently linked my tehnical blog with my account and when my article was synced on codeproject, the code portions which i highlighted as language code using http://www.hilite.me was rendered in techincal blog as plain html instead of the way it should look like on my blog. So my question is why it happens that when i am using some syntax highlighter plugin on my blogger articles and when they will be fetched on code project via feed, my code blocks displayed incorrectly?
-
I recently linked my tehnical blog with my account and when my article was synced on codeproject, the code portions which i highlighted as language code using http://www.hilite.me was rendered in techincal blog as plain html instead of the way it should look like on my blog. So my question is why it happens that when i am using some syntax highlighter plugin on my blogger articles and when they will be fetched on code project via feed, my code blocks displayed incorrectly?
Your syntax highlighter on your blog may be Javascript based, meaning it will only work on content on your blog. We also clear out colourisation from other sources in order to have "clean" codeblocks we can work with. Colourising should generally work automatically but sometimes it needs a kick. Can you point me to your article and I'll take a look? Usually it's simply a matter of a quick edit to set the language of the codeblock to get the colouriser to choose the right palette.
cheers Chris Maunder
-
Your syntax highlighter on your blog may be Javascript based, meaning it will only work on content on your blog. We also clear out colourisation from other sources in order to have "clean" codeblocks we can work with. Colourising should generally work automatically but sometimes it needs a kick. Can you point me to your article and I'll take a look? Usually it's simply a matter of a quick edit to set the language of the codeblock to get the colouriser to choose the right palette.
cheers Chris Maunder
I edited it myself and its fine now but i was thinking about same issue will come in future when article is synced.