Skip to content

yasinnaal/github-markdown-cheatsheet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 

Repository files navigation

Github Markdown Cheatsheet

GitHub Up to Date GitHub Repo stars

Github Markdown Cheatsheet Wiki

Github emoji list

for any suggestions or feedback ! write to me here

Table of Contents

Headers
Emphasis (Style Text Bold, Italic, strikethrough)
Superscript
Highlight
Blockquotes
Lists
Ordered List
List CheckBox - Task Lists
Email
Code - Programing languages
Links
Line Breaks
Horizontal Line
Tables
Raise to Power
Footnotes
Trademark Symbol
copyright symbol
Images
Centering Image
Centering Text
Emoji
Shields Badges

Headers

# H1
## H2
### H3
#### H4
##### H5
###### H6

H1

H2

H3

H4

H5
H6

Emphasis

*Text will be italic*

_Text will be italic_

**Text will be bold**

__Text  will be bold__

*You **can** combine them*

~~strikethrough text (deleted text)~~ or <del>strikethrough text (deleted text)</del>

Text will be italic

Text will be italic

Text will be bold

Text will be bold

You can combine them

strikethrough text (deleted text) or strikethrough text (deleted text)

Superscript

Normal Text

<sub> text with Superscript tag will look smaller

Normal Text

text with Superscript tag will look smaller

Highlight

`Highlight text` 

Highlight text

Blockquotes

As Grace Hopper said:
> I’ve always been more interested
> in the future than in the past.

As Grace Hopper said:

I’ve always been more interested in the future than in the past.

Lists

* Item 1
* Item 2
  * Item 2a (add tow spaces manually)
  * Item 2b (add tow spaces manually)
* Item 3
  • Item 1
  • Item 2
    • Sub Item (add tow spaces manually)
    • Sub Item (add tow spaces manually)
  • Item 3

Ordered

1. Item 1
2. Item 2
  * Item 2a (add tow spaces manually)
  * Item 2b (add tow spaces manually)
3. Item 3
  1. Item 1
  2. Item 2
  • Item 2a (add space manually)
  • Item 2b (add space manually)
  1. Item 3

List CheckBox or Tasks Lists

- [ ] Item A
- [x] Item B
- [x] Item C
  • Item A
  • Item B
  • Item C

Email

<email@email.com>

email@email.com

Code

You can add language identifier after ``` to enable syntax highlighting in code block.

ABAP

```ABAP
REPORT Z_HELLO_WORLD.

* ABAP Hello World!
" we use * or " to write comments, both are supported.

write 'Hello World'.
```
REPORT Z_HELLO_WORLD.

* ABAP Hello World!
" we use * or " to write comments, both are supported.

write 'Hello World'.

rubby

```ruby
require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html
```
require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html

java

```java
// Your First java Program
class HelloWorld {
    public static void main(String[] args) {
        System.out.println("Hello, World!"); 
    }
}
```
// Your First java Program
class HelloWorld {
    public static void main(String[] args) {
        System.out.println("Hello, World!"); 
    }
}

You can find out which programing language keywords are valid in the languages YAML file.

Links

[click here to go to Google](wwww.google.com)

click here to go to Google

Line Breaks

line 1<br>
line 2<br>
line 3<br>

line 1
line 2
line 3

Horizontal Line

Hyphens (Dash)
---

Asterisks
***

Underscores
___

Hyphens (Dash)

Asterisks


Underscores


Tables

|Column 1|Column 2|Column 3|
|---|:---|---:|
|Row 1 Column 1| Row 1 Column 2| Row 1 Column 3|
|Row 2 Column 1| Row 2 Column 2| Row 2 Column 3|

Note: Colons : are used to align columns lef, right, center.
Column 1 Column 2 Column 3
Row 1 Column 1 Row 1 Column 2 Row 1 Column 3
Row 2 Column 1 Row 2 Column 2 Row 2 Column 3

Raise to Power

4<sup>3</sup>

3<sup>2</sup>= 9

43

32= 9

Footnotes

How to include footnote referance[^1].

[^1]:good explenation show how to use footnote refernaces.

How to include footnote referance1.

plese check bottom of this page.

Trademark Symbol

Trademark symbol<sup>TM</sup>

Trademark SymbolTM

Copyright Symbol

 &copy;
 

Copyright ©

Images

![anytext](https://github.com/yasinnaal/images/blob/main/github_logo.png)

or

to add tip text on mouse hover

![alt text](https://github.com/yasinnaal/images/blob/main/github_logo.png "Github Logo")

alt text

Centering Image

<div align="center">
<img src="https://github.com/yasinnaal/images/blob/main/github_logo.png "Github Logo" width="200">
<p>centered text and Image.</p>
</div>

centered text and Image using div tag.

Centering Text

<div align="center">
<p>center text using div tag.</p>
</div>

center text using div tag.

Emoji

Emoji
People - (😊 , 😯 , ❤️)
Nature - (☀️ , ⛄ , 🐶)
Objects - (📁 , 💻 , 🔔)
Places - (:house: , ⚠️ , 🗽)
Symbols - (:parking: , ❌ , :wheelchair:)
Kaomoji

Special-Symbols

Shields Badges

See more:
https://shields.io/
https://github.com/badges/shields

ddd

GitHub Repo forks

GitHub Repo stars

You can search on https://shields.io/ to see all github badges and create your own.

You can show information about your repository like forks total...etc.

Feedback

for any suggestions or feedback ! write to me here

Footnotes

  1. good explenation show how to use footnote refernaces.

About

Github Markdown Cheatsheet

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published