Syahrun Cega

Home


Markdown Cheatsheet

Syahrun Cega / December 22, 2021

2 min read

Basic Syntax#

ElementMarkdown Syntax
Heading# h1
## h2
### h3
Bold**bold text**
Italic_italicized text_
Blockquote> blockquote
Ordered List1. First item
2. Second item
3. Third item
UnorderedList- First item
- Second item
- Third item
Code`console.log()`
Horizontal Rule---
Link[title](https://syahruncega.vercel.app)
Image![alt text](image.jpg)
Strikethrough~~Hello World~~

Extended Syntax#

ElementMarkdown Syntax
Table| Header 1 | Header 2 |
| ---------- | ---------- |
| Body 1 | Body 2 |
Fenced Code Block```console.log()```
Escape Character\
Line Break<br />

Preview#

Heading#

h1

h2#

h3#

h4#

Bold#

Bold text

Italic#

Italicized text

Blockquote#

Ordered List#

  1. First item
  2. Second item
  3. Third item

Unordered List#

  • First item
  • Second item
  • Third item

Code#

console.log(Hello world!)

Horizontal Rule#


Syahrun Cega

Image#

Next.js

Strikethrough#

Hello World

Fenced Code Block#

hello.js
const hello = 'Hello, world!'
var x = 6

if (x > 5)
    console.log(hello)

© 2023 Syahrun Cega. All Rights Reserved.