th00000
V2EX  ›  问与答

用 markdown 生成的网页, 有办法重新转换回 markdown 的源代码吗?

  •  
  •   th00000 · Mar 26, 2018 · 3262 views
    This topic created in 3164 days ago, the information mentioned may be changed or developed.

    只能看到.html 文件了

    或者说被 markdown 解释器解释过后的 html 文件,有办法重新转换回 markdown 语法吗?

    7 replies  •  2018-03-26 19:14:42 +08:00
    hihipp
    hihipp
    Mar 26, 2018❤️1
    1
    WuwuGin
    WuwuGin
    Mar 26, 2018 via Android
    2
    完全可以,因为这本来就是可逆的。不过我没有这个需求,所以没有实际上用过。建议可以去 GitHub 上看看。
    th00000
    th00000
    OP
    Mar 26, 2018
    3
    @hihipp 非常感谢 就是代码识别不出来具体的语言
    Isu
    Isu
    Mar 26, 2018 via iPhone
    4
    貌似 html-requests 库可以
    gbin
    gbin
    Mar 26, 2018 via Android
    5
    pandoc
    Qzier
    Qzier
    Mar 26, 2018 via iPhone
    6
    复制粘贴到 typora,然后查询源码就还原了,😊
    th00000
    th00000
    OP
    Mar 26, 2018
    7
    @Qzier 这个工具真的强大
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5042 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 108ms · UTC 02:37 · PVG 10:37 · LAX 18:37 · JFK 21:37
    ♥ Do have faith in what you're doing.