### Before `gem install docx` ### Useage 1. 将需要转换的`.docx`文件放入到`docxs`目录当中,并重命名为英文名称 #### Each with single docx file 1. 使用`irb`命令进入ruby命令行 2. 输入`require './md_genetator'` 3. 执行`MdGenerator.new('docxs/文件名.docx').execute`来转换 #### Batch file generate 1. `ruby batch_generator.rb` ### After 转换后的`.md`文件会保存在`markdowns`目录中,图片会保存在`images`目录中,执行成功后拷贝到hugo项目中即可进行校对