Skip to content
Suman Prasad edited this page May 6, 2023 · 1 revision

GitHub Wiki

GitHub Wiki is a feature that allows you to create and maintain documentation for your repository. It is a great way to share information about your project with other developers and users.

Creating a Wiki

To create a Wiki for your repository, follow these steps:

Navigate to your repository on GitHub. Click on the "Wiki" tab. Click on the "Create the first page" button. Give your page a name and start writing your content. Adding Pages To add more pages to your Wiki, follow these steps:

Click on the "New Page" button. Give your new page a name and start writing your content. Editing Pages To edit a page on your Wiki, follow these steps:

Navigate to the page you want to edit. Click on the "Edit" button. Make your changes and click on the "Save" button.

Code Snippets

You can add code snippets to your Wiki by using GitHub-flavored Markdown. Here is an example:

function sayHello() { console.log("Hello World!"); }

sayHello(); This will create a code block that looks like this:

function sayHello() { console.log("Hello World!"); }

sayHello();

You can also add inline code snippets using backticks. Here is an example:

The console.log() method is used to print a message to the console.

This will create inline code that looks like this:

The console.log() method is used to print a message to the console.

Conclusion

In conclusion, GitHub Wiki is a great feature that allows you to create and maintain documentation for your repository. It is easy to use and allows you to share information with other developers and users. With the ability to add code snippets, it is a powerful tool for sharing code examples and tutorials.

Clone this wiki locally