Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is Markdown Language? #16

Closed
Aryamanz29 opened this issue Dec 5, 2021 · 0 comments
Closed

What is Markdown Language? #16

Aryamanz29 opened this issue Dec 5, 2021 · 0 comments

Comments

@Aryamanz29
Copy link
Owner

Aryamanz29 commented Dec 5, 2021

pin: false
summary: Learn about markdown

Learn About Markdown Language 🚀

Markdown is a lightweight markup language. It is used to create formatted text using simple text editor.

Github supports Markdown and thats why we are going to create this documentation in .md file.

  • Content:
    • Basic syntax.
    • Advanced syntax.

-----------------------------------------------------

Basic Syntax :

  • HEADERS (H1 to H6)

#  h1 tag
##  h2 tag
###  h3 tag

Output

h1 tag

h2 tag

h3 tag

-----------------------------------------------------

  • EMPHASIS

*This is italic*
_This is also italic_
**This is bold**
__This is also bold__

Output

This is italic

This is also italic

This is bold

This is also bold
-----------------------------------------------------

  • BLOCKQUOTES

> this is a single block quote.
>> this is a nested block quote.

Output

this is a single block quote.

this is a nested block quote.

-----------------------------------------------------

  • LIST

  • Ordered List :

 1. First item
 2. Second item
 

Output

  1. First item
  2. Second item
  • Unordered List :

 - First item
  - Second item

Output

  • First item
    • Second item

-----------------------------------------------------

  • HORIZONTAL RULE

---

Output


-----------------------------------------------------

  • Code

  `This is a code`

Output

This is a code

More Examples :

Highlighted C Codes:

  ```c
  Printf("Hello World!");

Output

Printf("Hello World!");

Highlighted HTML Codes:

  ```html
  <!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>

</body>
</html>

Output

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
</head>
<body>

</body>
</html>

-----------------------------------------------------

  • LINK

Normal link Syntax:
[title](https://www.example.com)

Example:
[Github](https://www.github.com)

Emails Syntax:
<email id>

Example:
<[email protected]>

Output :

Github

[email protected]

-----------------------------------------------------

  • IMAGES

Syntax:
![image name](image address)

Example:
![github-octocat](https://user-images.githubusercontent.com/87390353/139872522-9706b6aa-06cf-480f-b26d-0b7e0aaa7214.png)

Output :

github-octocat

-----------------------------------------------------

Advanced Syntax :

  • EMOJI

Syntax:  :short code:
Example : :laughing:

Output :

😆

-----------------------------------------------------

  • FOOTNOTE

Here's a sentence with a footnote. [^1]

[^1]: It is the footnote.

Here's a sentence with a footnote. 1

-----------------------------------------------------

  • STRIKE THROUGH

Syntax:
~~Sentence~~

Example:
~~You are a bad student.~~

Output :

This sentence is incorrect

-----------------------------------------------------

Reference:

Github Markdown

Keep Learning !

Footnotes

  1. It is the footnote.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant