Eric, I should mention that I am using the "Syntaxhighlighter Evolved" plugin for Wordpress. It allows shortcodes with just the language name. I probably should use the [sourcecode lang="..."] variant instead. Maybe that is why my version did not work for you?
My latest page created with my code can be found at: http://bnbeckwith.com/index.php/writegood-mode/ As for the linebreaks, in my haste to share I forgot that I was advising the org2blog-strip-newlines function. Which effectively keeps all line breaks. ------------------------------ (defadvice org2blog-strip-new-lines (around bnb/org2blog-disable-newline-removal) "Disables the function the removes newlines from the generated HTML" (setq ad-return-value (ad-get-arg 0))) ------------------------------ _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode