DEV Community

Cover image for Markdown
MOHAMED-AMINE CHEKROUNI
MOHAMED-AMINE CHEKROUNI

Posted on

Markdown

Markdown (.md) is a lightweight markup language for creating formatted text using a plain-text editor.
is used in Readme files on github README.md

this is a sample of Markdown file
source code :: https://github.com/MedAmineCk/Markdown

<!-- Headings -->

# Heading 1

## Heading 2

### Heading 3

#### Heading 4

##### Heading 5

###### Heading 6

<!-- Italics -->

\_This text\_ is italic

_This text_ is italic

<!-- Strong -->

**This text** is strong

**This text** is strong

<!-- Strikethrough -->

~~This text~~ is strikethrough

## <!-- Horizontal Rule -->

---

<!-- Blockqoute -->

> this is a blockqoute

<!-- Links -->

[Portfolio](https://www.medamineck.com)

[Portfolio with a hint](https://www.medamineck.com "medamineck.com")

https://www.medamineck.com

`https://www.medamineck.com`

<!-- Emails -->

<contact@medamineck.com>

<!-- UL -->

- item 1
- item 2
- item 3
  - Nested item 1
  - Nested item 2

<!-- OL -->

1. item 1
1. item 2
1. item 3

<!-- Inline code block -->

`print("hello world") <p class="bg">hello</p>`

<!-- Images -->

![placeholder](https://via.placeholder.com/150)

<!-- Github Markdown -->
<!-- Gode Blocks -->

\`\`\`bash
    npm install vite@latest
\`\`\`

\`\`\`javascript
console.log("hello world");
\`\`\`

<!-- Tables -->

| Name    | Email                  |
| ------- | ---------------------- |
| me      | contact@medamineck.com |
| another | another@email.com      |

| Left | Center | Right |
| :--- | :----: | ----: |
| 1    |   2    |     3 |

<!-- Task List -->

- [x] task done
- [ ] task to do

Enter fullscreen mode Exit fullscreen mode

Output ::

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

_This text_ is italic

This text is italic

This text is strong

This text is strong

This text is strikethrough

<!-- Horizontal Rule -->


this is a blockqoute

Portfolio

Portfolio with a hint

https://www.medamineck.com

https://www.medamineck.com

contact@medamineck.com

  • item 1
  • item 2
  • item 3
    • Nested item 1
    • Nested item 2
  1. item 1
  2. item 2
  3. item 3

print("hello world") <p class="bg">hello</p>

placeholder

    npm install vite@latest
Enter fullscreen mode Exit fullscreen mode
console.log("hello world");
Enter fullscreen mode Exit fullscreen mode
Left Center Right
1 2 3
  • [x] task done
  • [ ] task to do

Top comments (0)