Thread Starter
gabor
(@gabor)
i’m sorry, it seems the forum at the html code.
my second sentence was:
the problem is that i have no idea how to add the “lang” attribute to the “pre” tag.
thanks,
gabor
@gabor, Hi. The wp-syntax plugin is designed to strip out <pre lang="xyz"> tags before other filtering plugins run. So, in theory, you should be able to simply use standard angle-bracket syntax inside your markdown and all should be well. In other words, try inserting <pre lang="xyz">code</pre> in one of your posts.
If not, please point me to the markdown plugin your using. Perhaps either the markdown plugin’s filter priorities or wp-syntax filter priorities need adjusted.
@gabor, I was egosurfing for wp-syntax related posts and found your follow-up post. I’m glad things are working for you now.