# How to export results of org babel src when exporting via ox-publish?

**URL:** <https://forum.systemcrafters.net/t/how-to-export-results-of-org-babel-src-when-exporting-via-ox-publish/502>\
**Category:** General\
**Tags:** emacs-lisp, emacs\
**Created:** [March 23, 2024, 5:41pm UTC](https://forum.systemcrafters.net/t/how-to-export-results-of-org-babel-src-when-exporting-via-ox-publish/502 "2024-03-23T17:41:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tusharhero](https://avatars.discourse-cdn.com/v4/letter/t/e99b99/32.png) [@tusharhero](https://forum.systemcrafters.net/u/tusharhero)\
**Post date:** [March 23, 2024, 5:41pm UTC](https://forum.systemcrafters.net/t/how-to-export-results-of-org-babel-src-when-exporting-via-ox-publish/502/1 "2024-03-23T17:41:13Z")

</div>

Hey all,

I am trying to use ox-publish to make my blog, I followed  
systemcrafter’s tutorial for this.

What I am struggling with is this, Let’s say I have this org document.

#+begin\_example  
Hello World  
#+begin\_src elisp :exports results  
(message “Hello World”)  
#+end\_src  
#+end\_example  
And export is using =org-html-export-to-html=, I will get an html file  
which says  
#+begin\_example  
Hello World  
Hello World  
#+end\_example  
But if I use ox-publish to do it, I do not get the second “Hello World”.

---

<div class="post-metadata">

**Author:** ![tusharhero](https://avatars.discourse-cdn.com/v4/letter/t/e99b99/32.png) [@tusharhero](https://forum.systemcrafters.net/u/tusharhero)\
**Post date:** [March 26, 2024, 6:24pm UTC](https://forum.systemcrafters.net/t/how-to-export-results-of-org-babel-src-when-exporting-via-ox-publish/502/2 "2024-03-26T18:24:07Z")

</div>

This fixed it.

```
(setq org-confirm-babel-evaluate nil)

```
