Eric S Fraga <e.fr...@ucl.ac.uk> writes:

> Eric Schulte <eric.schu...@gmx.com> writes:
>
> [...]
>
|> I've just pushed up a minor code change which makes customization of the
|> format of exported code blocks possible.  I've added a new
|> customization
>
> I'm coming late to this but just wanted to say thanks!  This is very
> nice indeed.

Yes, this is very useful.
now I can simply put
(setq org-babel-exp-code-template
 "``` %lang %name
%body
```")

to have source code highlighted with Pygments in Jekyll site generation
instead of placing an export-hook to clean all "<pre>" elements which is
very much error prone.

--
YYR


Reply via email to