The tool has a dependency on Pandoc
- Will convert the current directory
Docx2GFMD.exe
- Will convert specified directory
Docx2GFMD.exe C:\Directory\To\Prep
The tool does the following:
- Creates the following folder structure
C:\Directory\To\Prep\Converted
\.attachments
\Prep
- Converts either the current directory or a specified directory to github flavored markdown, preferred by VSTS Wiki
- Prepares an index folder with VSTS compatible reference links to the content, you may need to add the rest of the link from Azure-Wiki-Home location for example.
- Extracts all media to the .attachments folder
- Prepends all images with the name of the directory being converted, in this example image1.png becomes prep_image1.png
- Updates the links to images on all the converted markdown pages.
This should give everyone a head start if you have any mass migrations of documents.