Skip to content

Instantly share code, notes, and snippets.

@nnja
Created May 26, 2016 20:25
Show Gist options
  • Save nnja/9136152c163091614e70defcf3753d06 to your computer and use it in GitHub Desktop.
Save nnja/9136152c163091614e70defcf3753d06 to your computer and use it in GitHub Desktop.
How to access the raw markdown source for a github wiki page
https://raw.github.com/wiki/user/repo/page.md?login=login&token=token
@Kiuhbit
Copy link

Kiuhbit commented Feb 15, 2023

Looks like I was doing it wrong when I tried to manually edit a URL. Oops. Here's a wiki link and a correct raw file link for future reference and comparison:

https://github.com/mattmikolay/chip-8/wiki/CHIP%E2%80%908-Technical-Reference
https://raw.githubusercontent.com/wiki/mattmikolay/chip-8/CHIP%E2%80%908-Technical-Reference.md

For anyone else getting 404s, note the missing /wiki after the repository name, the added /wiki at the start, and .md added at the end.

@herry-heni
Copy link

not sure if this helps, but you can clone the wiki

git clone git@github.com:organisation/repo.wiki.git

all wiki pages are in markdown files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment