Making GitHub More Open: Git-backed Wikis
We’ve been hearing a lot of great feedback regarding our current wiki system. Today, we’re launching the first phase in a rollout of a completely rewritten Git-backed wiki system to…
We’ve been hearing a lot of great feedback regarding our current wiki system. Today, we’re launching the first phase in a rollout of a completely rewritten Git-backed wiki system to address these issues. Each page is a file in a directory. Each change is a commit.
Where’s Markdown support?
![](https://github.blog/wp-content/uploads/2010/08/wiki-editbar.png?resize=418%2C195)
A lot of people like Textile, but wikis are one of the few places that don’t support Markdown. The new GitHub Wikis leverage our markup library to support eight formats, with context sensitive help and a toolbar.
Git-Powered History and Comparisons
![](https://github.blog/wp-content/uploads/2010/08/wiki-history.png?resize=404%2C227)
Being able to see diffs of changes is another highly requested feature for wikis. Git is pretty good at this already, so we just use the existing tools for showing the history and making comparisons.
![](https://github.blog/wp-content/uploads/2010/08/wiki-compare.png?resize=448%2C178)
Images and Folders
You can now reference images hosted inside the Git repository.
![](https://github.blog/wp-content/uploads/2010/08/wiki-images.png?resize=507%2C340)
Importing and Exporting
Each wiki is a Git repository, so you’re able to push and pull them like anything else. Each wiki respects the same permissions as the source repository. Just add “.wiki” to any repository name in the URL, and you’re ready to go.
View Your Content Locally
![](https://github.blog/wp-content/uploads/2010/08/wiki-gollum-web.png?resize=477%2C320)
We’re also releasing Gollum, the same ruby library that powers GitHub Wikis. Gollum provides a ruby API for accessing and modifying your content, and also includes a small Sinatra web server. Clone the demo wiki to see what’s available, or check out the Gollum readme for more detailed information.
Our hope is that our community can help us make GitHub Wikis better, in the same way you’ve all helped us make GitHub Pages better through Jekyll. If other language implementations pop up, and other Git hosts start supporting Gollum Wikis, that’ll be better for the Git community as a whole.
Where’s the Script?
We’ve decided to improve the public wiki experience by hosting everything under the main github.com domain. To do this, we’ve had to sanitize all javascript and CSS in the wikis. You will no longer appear to be logged out when reading wikis for open source repositories.
How Can I Upgrade?
The new GitHub Wikis are still technically beta. We’re encouraging our users to upgrade wikis on their own, and report any incompatibilities that come up. You’re able to upgrade without disturbing the existing wiki. Once your new wiki is ready to go, you can disable the classic wiki, and we’ll redirect traffic for you.
![](https://github.blog/wp-content/uploads/2010/08/wiki-upgrade.png?resize=483%2C253)
We’re looking at disabling all classic wikis and forcing upgrades starting September 12th.
Written by
Related posts
![](https://github.blog/wp-content/uploads/2023/10/Collaboration-DarkMode-2.png?resize=400%2C212)
2024 is the biggest global election year in history. What’s at stake for developers?
GitHub is considering what is at stake for our users and platform, how we can take responsible action to support free and fair elections, and how developers contribute to resilient democratic processes.
![](https://github.blog/wp-content/uploads/2023/10/AI-DarkMode-2.png?resize=400%2C212)
GitHub named a Leader in the Gartner first-ever Magic Quadrant for AI Code Assistants
This year, as part of its annual Magic Quadrant series, Gartner published a first-of-its-kind report analyzing the state of play in the AI Code Assistants market–and named GitHub a Leader.
![AI in software development 2024 survey results with colorful graphics and percentages.](https://github.blog/wp-content/uploads/2024/08/ai-survey-header.png?resize=400%2C212)
Survey: The AI wave continues to grow on software development teams
We surveyed 2,000 people on software development teams at enterprises in the U.S., Brazil, India, and Germany about the use, experience, and expectations around generative AI tools in software development.