Skip to content

Latest commit

 

History

History
99 lines (71 loc) · 2.84 KB

README.md

File metadata and controls

99 lines (71 loc) · 2.84 KB

Markdown-for-Documentation

GitHub Readme used for documentation also used .md (markdown) files for documentation.
Note, for all webpages containing any number of md files, GitHub only renders the README.md file on current page if present.

Note

Markdown files can include <html> language code as both are compatible.

Table of Contents:

1. Heading

2. Paragraph

3. Linebreak

4. Emphasis

5. Blockquote

6. Lists

7. Code

8. Horizontal rules

9. Links

10. Images

11. Escaping characters

12. Emojis

How to Contribute

  1. Fork the repository to your own GitHub account.

  2. Clone the repository to your local machine

$ git clone "https://www.github.com/{Username}/Markdown-for-Documentation.git"

where username is your GitHub account username.

  1. Create a branch where you can do your local work. Never work on master branch as we do not allow master commits except by admins.
$ git branch {branchname}
$ git checkout branchname
  1. Do your work and stage your changes.
$ git add <filename>
  1. Commit you changes with a commit message containing your name, file(s) worked upon, changes added.
$ git commit -m "Name| files| Changes"
  1. Push changes to your forked repository
$ git push -u origin branchname
  1. Create a pull request to the upstream repository.

Synchronize forked repository with Upstream repository

  1. Create upstream as our repository
$ git remote add upstream "https://www.github.com/NishkarshRaj/Markdown-for-Documentation"
  1. Fetch upstream changes in local machine
$ git fetch upstream
  1. Switch to master branch
$ git checkout master
  1. Merge changes in local machine
$ git merge upstream/master
  1. Push changes to your forked GitHub repository
$ git push -f origin master

References

Markdown Guide