Skip to content

Drulac/odt2md

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

odt2md

far from being perfect, far from being the fastest

it extract styles, images

installation

require w2l (also know as writer2latex) to work. Under debian (require root privilege) :

sudo apt install writer2latex

then install odt2md (require root privilege) :

sudo npm install -g odt2md

run

got to a dir with an odt file an run the script from here :

cd ~/Document/dirWithOdtFile
odt2md ./file.odt

It will produce an output markdown.md file, and extract all the images

be careful if you modify images, and then run the script again, the script will overwrite you modified images

to use with

This was made to work with this markdown-math-editor, you should try it :-)

developpement

clone the source code :

cd ~/scripts/  #or in another dir
git clone https://github.com/Drulac/odt2md.git

got to a dir with an odt file an run the script from here :

cd ~/Document/dirWithOdtFile
node ~/scripts/odt2md/script.js ./file.odt

About

odt to markdown converter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published