Adding pages to a Github wiki using Markdown export
Github repositories come with a wiki that you can use to document your projects. This article will show you how to export Clarify documents to your Github wiki in Markdown format.
If you haven't already cloned your Github wiki to your computer then you will need to do that first.
1. Click on the Wiki link in the sidebar of your repository
2. Create the first page if need be
If you don't have any content in your wiki yet then you will be prompted to create the first page.
Click the Create the first page button...
3. Get wiki git URL
You can now grab the URL to clone the wiki on your computer.
Export your Clarify document using the Markdown HTML template
The HTML exporter in Clarify includes a Markdown template. You can use File > Export > HTML menu (1) or you can create a sharing account that uses the Markdown template (2).
Save to your local wiki directory
Save the .md file to the wiki folder you cloned on your computer.
The result
Clarify will generate an .md file containing your document. The images will be stored in a folder named after the document that is stored in an images folder.
You can export multiple documents to the wiki folder and a new document image folder will be added to the existing images folder.
Commit and push the changes
Add the files to the repository, commit, and push the changes to Github.
0 Comments
Add your comment