AspNetCore.Docs icon indicating copy to clipboard operation
AspNetCore.Docs copied to clipboard

How to convert document from rst to md format

Open kiler398 opened this issue 10 years ago • 4 comments

Hi,I have attend a open source project for translate .net core document into chinese (https://github.com/dotnetcore/aspnetcore-doc-cn/).

We have work on the translate rst file,but we find that all the rst file have been change to md.

Is there any tools for microsoft to convert rst to md format? so we can reduce effort on translate work。

kiler398 avatar Nov 19 '16 08:11 kiler398

@shirhatti can you share your conversion tool?

Rick-Anderson avatar Nov 22 '16 01:11 Rick-Anderson

I'd recommending using pandoc to convert individual files from rst to Markdown.

Unfortunately, I can't share the tool I authored since it is an a dismal state right now. I basically implemented a Sphinx builder based off the HTML builder as part of Sphinx. If you are interested in replicating it, I can share more details.

shirhatti avatar Nov 22 '16 02:11 shirhatti

So,There is no solution?

LyricsYo avatar Dec 08 '16 06:12 LyricsYo

We don't have one, but you could try using pandoc to convert individual files from rst to Markdown.

We will be starting localization of our docs early next year.

Rick-Anderson avatar Dec 08 '16 18:12 Rick-Anderson