Markdown Flavor

Toggle block

<details>
<summary>Click to toggle contents of `code`</summary>

CODE!

</details>

Alert styling

> [!NOTE]  
> Highlights information that users should take into account, even when skimming.

> [!TIP]
> Optional information to help a user be more successful.

> [!IMPORTANT]  
> Crucial information necessary for users to succeed.

> [!WARNING]  
> Critical content demanding immediate user attention due to potential risks.

> [!CAUTION]
> Negative potential consequences of an action.

image.png

View README.md localhost

pip install grip # <https://github.com/joeyespo/grip>
cd myrepo
grip # Running on <http://localhost:6419/>

Update: grip support with limited times of usage, we can use VSCode markdown previwer instead, itโ€™s builtin.

Clone with Personal Access Tokens (PAT)

Go to this link to generate a new PAT. Then using your PAT as a password.

$ git clone <https://github.com/fakeuser/fake-repo.git>
Username: <your_username>
Password: <your_personal_access_token>

Clone via git@ (ssh)

<aside> โ˜๏ธ Update: It's easier if we use Github CLI!

</aside>

๐Ÿ‘‰ More references: this and this.

# Go to <https://github.com/settings/keys>
# copy public key
cat ~/.ssh/id_rsa.pub