Jarvanh
V2EX  ›  问与答

请教大家.docx 和.md 怎么互转

  •  
  •   Jarvanh · Jul 9, 2014 · 4528 views
    This topic created in 4358 days ago, the information mentioned may be changed or developed.
    试了下通过转换成HTML进行互转,没有图片的还好,有图片的不知道怎么搞
    11 replies    2014-07-11 11:37:37 +08:00
    mantianyu
        1
    mantianyu  
       Jul 9, 2014
    pandoc
    learnshare
        2
    learnshare  
       Jul 9, 2014
    md 导出为 HTML 页面,然后复制粘贴到 doc 里是可行的,反向的操作就很难了
    Jarvanh
        3
    Jarvanh  
    OP
       Jul 9, 2014
    @learnshare 对,还木有头绪
    Jarvanh
        4
    Jarvanh  
    OP
       Jul 9, 2014   ❤️ 1
    @mantianyu 可以详细说下么?主要是docx转md
    Whisper
        5
    Whisper  
       Jul 9, 2014
    yangff
        6
    yangff  
       Jul 9, 2014
    明显不可能啊……
    除非你把docx转成html,然后直接把后缀改成.md……
    qq529633582
        7
    qq529633582  
       Jul 9, 2014
    docx好像只是pandoc的输出格式,不能作为输入格式(大图http://johnmacfarlane.net/pandoc/diagram.png)
    从docx转出可用unoconv,需OpenOffice / LibreOffice
    ChiangDi
        8
    ChiangDi  
       Jul 9, 2014
    docx那些字体啊,数学公式之类的不可能转成md吧
    sandtears
        9
    sandtears  
       Jul 9, 2014
    恐怕很难,docx 的表达能力远超 Markdown...
    breestealth
        10
    breestealth  
       Jul 9, 2014
    貌似iA Writer支持导入Word,可以试试。
    mantianyu
        11
    mantianyu  
       Jul 11, 2014
    @Jarvanh 不好意思不好意思.... 是我记错了, docx 只能是 pandoc 的输出格式....
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3221 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 57ms · UTC 00:38 · PVG 08:38 · LAX 17:38 · JFK 20:38
    ♥ Do have faith in what you're doing.