Re: [O] Exporting xml and html code with syntax highlight

2012-08-31 Thread Bastien
Hi Charles, Charles Philip Chan cpc...@bell.net writes: Tonight I had a need to export some xml code with syntax highlight. I figured that the best way to do it is to modify ob-css.el (by a simple search and replace). To my delight, it work, so I did one for html also. I hope people will

Re: [O] Exporting xml and html code with syntax highlight

2012-08-31 Thread Charles Philip Chan
Bastien b...@altern.org writes: Hi Bastien: Since the functions do strictly nothing, we should have a way to add them dynamically, without requiring a new ob-* file. This would be useless for languages you only want to tangle, like XML and HTML. I totally agree with this. Cheers, Charles

[O] Exporting xml and html code with syntax highlight

2012-08-30 Thread Charles Philip Chan
Hello all: Tonight I had a need to export some xml code with syntax highlight. I figured that the best way to do it is to modify ob-css.el (by a simple search and replace). To my delight, it work, so I did one for html also. I hope people will find them useful. Cheers, Charles ;;; ob-xml.el ---