Skip to content

Latest commit

 

History

History
155 lines (85 loc) · 2.1 KB

how-to-readme.md

File metadata and controls

155 lines (85 loc) · 2.1 KB

Markdown is a lightweight markup language that allows you to format text using plain text syntax. Here are 15 Markdown features with examples:

Headers:
    Use # for headers. More # means a smaller header.

markdown

H1 Header

H2 Header

H3 Header

H4 Header

H5 Header
H6 Header

Bold Text:

Surround text with ** or __ for bold.

markdown

Bold Text Bold Text

Italic Text:

Surround text with * or _ for italic.

markdown

Italic Text Italic Text

Strikethrough:

Use ~~ to strike through text.

markdown

Strikethrough Text

Blockquote:

Use > to create a blockquote.

markdown

This is a blockquote.

Lists:

Use -, *, or + for unordered lists. Use numbers for ordered lists.

markdown

  • Item 1
  • Item 2
    • Subitem 2.1
    • Subitem 2.2
  1. First item
  2. Second item
    1. Subitem 2.1
    2. Subitem 2.2

Code Blocks:

Use backticks for inline code. Use triple backticks for code blocks.

markdown

Inline code

def hello_world():
    print("Hello, world!")`

Horizontal Rule:

Use ---, ***, or ___ to create a horizontal rule.

Links:

Use [link text](URL) for links.

markdown

OpenAI

Images:

Use ![alt text](image URL) for images.

markdown

OpenAI Logo

Tables:

Use | to create tables.

markdown

Header 1 Header 2
Cell 1 Cell 2
Cell 3 Cell 4

Task Lists:

Use - [ ] for unchecked tasks and - [x] for checked tasks.

markdown

  • Task 1
  • Task 2

Inline HTML:

Embed HTML directly within Markdown.

markdown

This is red text

Footnotes:

Use [^1] to add footnotes.

markdown

This is a sentence with a footnote.1

Emojis:

Use :emoji_name: to add emojis.

markdown

:smile: :rocket: :tada:

By using these features, you can create well-structured and visually appealing Markdown documents for your GitHub repositories or any other purpose where Markdown is supported.

courtesy of our friend chatGPT

Footnotes

  1. This is the footnote.