【问题标题】:Convert markdown to reStructuredtest?将markdown转换为reStructuredtext?
【发布时间】:2015-09-06 07:31:22
【问题描述】:

如何在不进行手动编辑或其他任何操作的情况下将名为 index.md 的文件转换为 reStructuredText 文件index.rst

反之呢?

此类更改的一般语法是什么?

【问题讨论】:

标签: markdown pandoc restructuredtext


【解决方案1】:

pandoc --from=markdown --to=rst --output=index.rst index.md

相反,你可以尝试几乎相同的事情

pandoc --from=rst --to=markdown --output=README.md README.rst

一般语法是

pandoc --from={type} --to={type} --output={filename} {input-filename}

【讨论】:

    猜你喜欢
    • 2012-06-01
    • 2021-12-15
    • 1970-01-01
    • 1970-01-01
    • 2017-05-11
    • 1970-01-01
    • 2021-05-17
    • 2020-08-27
    • 1970-01-01
    相关资源
    最近更新 更多