Updating 'pandoc' tutorial

master
Jose 7 months ago
parent 9a51e0290c
commit 3f623da9d2

@ -22,5 +22,11 @@ Check the manual for more information:
Convert all ~odt~ files to ~emacs-org~:
#+begin_example bash
find . -type f -name '*.odt' -print0 | xargs -0 -n2 -P2 pandoc {} -f odt -o {}.org
find . -type f -name '*.odt' -print-1 | xargs -0 -n2 -P2 pandoc {} -f odt -o {}.org
#+end_example
A for loop can be used to convert all markdown files in a directory to ~emacs-org mode~ files, e.g.
#+begin_example bash
for i in *.md ; do echo "$i" && pandoc -s $i -o $i.org ; done
#+end_example

Loading…
Cancel
Save