2015-06-20 112 views
0

如何在不進行手動編輯的情況下將名爲index.md的文件轉換爲reStructuredText文件index.rst將markdown轉換爲reStructuredtest?

副詩怎麼樣?

這些更改的一般語法是什麼?

+0

可能重複在Markdown和reStructuredText](http://stackoverflow.com/questions/10718767/have-the -same-自述-兩者合降價和 - reStructuredText的) – Chris

回答

1

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

對於您可以嘗試幾乎是同一事物的相反

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

一般語法的[有同樣的README都

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

相關問題