在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):benbalter/word-to-markdown开源软件地址(OpenSource Url):https://github.com/benbalter/word-to-markdown开源编程语言(OpenSource Language):Ruby 97.1%开源软件介绍(OpenSource Introduction):Word to Markdown converterA Ruby gem to liberate content from the jail that is Word documents The problem
Just want to convert a Microsoft Word (or Google) document to Markdown?You can use this hosted service (or check out its source). InstallYou'll need to install LibreOffice. Then: gem install word-to-markdown Usagefile = WordToMarkdown.new("/path/to/document.docx")
=> <WordToMarkdown path="/path/to/document.docx">
file.to_s
=> "# Test\n\n This is a test"
file.document.tree
=> <Nokogiri Document> Command line usageOnce you've installed the gem, it's just:
Outputs the resulting markdown to stdout Supports
Requirements and configurationWord-to-markdown requires Testing
DockerFirst, create the
Everything you need to run the executable locally:
Hosted serviceWord-to-markdown-server contains a lightweight server for converting Word Documents as a service. A live version runs at word2md.com. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论