How can I convert a file named index.md
into a reStructuredText fileindex.rst
without manual editing or anything?
How about vice-verse?
What is the general syntax of such changes?
How can I convert a file named index.md
into a reStructuredText fileindex.rst
without manual editing or anything?
How about vice-verse?
What is the general syntax of such changes?
pandoc --from=markdown --to=rst --output=index.rst index.md
For the reverse you can try pretty much the same thing
pandoc --from=rst --to=markdown --output=README.md README.rst
The general syntax is
pandoc --from={type} --to={type} --output={filename} {input-filename}