emacsorphanage / ox-pandoc

Another org-mode exporter via pandoc.
GNU General Public License v2.0
47 stars 13 forks source link

Support export to ipython notebook #38

Open deb75 opened 4 months ago

deb75 commented 4 months ago

Hi,

I recently tried with success the export towards ipython notebook file format (.ipynb) :

pandoc -f org -t ipynb -o test.ipynb test.org

Would it be possible to add this export format ?

I searched in ox-pandoc documentation but, unless mitaken, I do not think it is possible by just customizing options, one would have to append pieces of code.

Regards

yantar92 commented 4 months ago

deb75 @.***> writes:

I searched in ox-pandoc documentation but, unless mitaken, I do not think it is possible by just customizing options, one would have to append pieces of code.

Yes. But if you look into the source code, you will see that it is extremely easy to do - just add a few functions following how the other export formats are implemented and add your custom code to the menu.

-- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92