GitHub cheat sheet - ThomasMarshall33/Personal-wiki GitHub Wiki

GitHub Markdown Cheat Sheet

links

[whatever you want it to say](the actual URL)

Headings

  • # H1 (biggest)
  • ## H2
  • ### H3
  • #### H4
  • ##### H5
  • ###### H6 (smallest)

Text Formatting

  • **bold**bold
  • *italic*italic
  • ***bold and italic***bold and italic
  • ~~strikethrough~~strikethrough
  • `inline code`inline code

Lists

  • - item or * item → bullet list
  • 1. item → numbered list
  • Indent 2 spaces for sub-bullets

Links and Images

  • [text](url) → clickable link
  • ![alt text](image-url) → embedded image

Code Blocks

  • Triple backticks ``` with language name after for syntax highlighting
  • Supported: bash, python, powershell, yaml, json, etc.

Other Useful Stuff

  • > → blockquote
  • --- → horizontal line
  • - [ ] → unchecked checkbox
  • - [x] → checked checkbox
  • | col | col | → table (use |---|---| for header row)