Re: Clojure Pretty Printing with Blogger

2014-06-04 Thread Ashish Negi
Hi i am trying to pretty a clojure code : my emacs version is 24.3.1 my org file is : #+BEGIN_SRC clojure (defn foo [x] (reverse (let [A (reduce (fn [x y] (if (= (:L x) y) (assoc x :T (conj (:T x) y)) (assoc (assoc

Re: Clojure Pretty Printing with Blogger

2012-05-26 Thread Jake Johnson
Thanks again, guys! Much appreciated. On Sat, May 26, 2012 at 6:07 PM, Moritz Ulrich wrote: > If you don't want to create a whole org-document just for a single > export, you can use htmlize-{region,buffer} directly. That's the same > command org uses. > > On Sat, May 26, 2012 at 11:46 PM, eniot

Re: Clojure Pretty Printing with Blogger

2012-05-26 Thread Moritz Ulrich
If you don't want to create a whole org-document just for a single export, you can use htmlize-{region,buffer} directly. That's the same command org uses. On Sat, May 26, 2012 at 11:46 PM, eniotna wrote: > Hi > > C-c C-e b for the HTML export and open into the browser to display the > result. > >

Re: Clojure Pretty Printing with Blogger

2012-05-26 Thread eniotna
Hi C-c C-e b for the HTML export and open into the browser to display the result. Then copy paste the html source yes. Antoine On May 26, 2012 11:42 PM, "Jake Johnson" wrote: > Thanks! I didn't realize org-mode would prettify Clojure code when > exported to html (I generally use org-mode witho

Re: Clojure Pretty Printing with Blogger

2012-05-26 Thread Jake Johnson
Thanks! I didn't realize org-mode would prettify Clojure code when exported to html (I generally use org-mode without exporting). Using org-mode, would my best option just be to type it up, export to html, then copy and paste the resulting html into my blog post? On Sat, May 26, 2012 at 10:46 AM,

Re: Clojure Pretty Printing with Blogger

2012-05-26 Thread Denis Labaye
Hi, I don't know google-code-prettify. I am using Emacs with org-mode, it has native support for prettifying Clojure code when exporting to HTML. You could also use GitHub's gist https://gist.github.com/, and embed it in your blog. Denis On Fri, May 25, 2012 at 12:07 PM, Jake Johnson wrote: > H

Clojure Pretty Printing with Blogger

2012-05-25 Thread Jake Johnson
Hi, guys. Has anyone had any luck with using google-code-prettifyand http://google-code-prettify.googlecode.com/svn/trunk/src/lang-clj.jstogether on blogger? I followed http://www.tkglaser.net/2012/03/syntax-highlighting-in-blogger.html