tattvaiq

📘 Markdown Quick Reference Guide


📝 Text Formatting

  • Bold: Use double asterisks or double underscores. **This text is bold** or __This text is bold__
  • Italic: Use single asterisks or single underscores. *This text is italic* or _This text is italic_
  • Bold and Italic: Combine both. ***This text is bold and italic***
  • Strikethrough: Use double tildes. ~~This text is struck through~~

🔗 Links and Images

  • Inline Link: Use square brackets for the text and parentheses for the URL. [Google's Website](https://www.google.com)
  • Image: Precede the link syntax with an exclamation mark. The text in brackets is the alt text. ![Alt text for the image](https://www.example.com/image.jpg)

🏷️ Code Blocks

  • Inline Code: Use single backticks for short code snippets within a sentence. This is an example of inline code.

  • Fenced Code Block: Use three backticks (```) to create multi-line code blocks. You can specify the language for syntax highlighting.

    ```javascript function greet(name) { console.log('Hello, ' + name); } ```


🧱 Structure and Headings

  • Headings: Use the hash symbol (#) for headings. The number of hashes corresponds to the heading level (H1 being the largest).

    markdown
    # Heading 1 (H1) ## Heading 2 (H2) ### Heading 3 (H3) #### Heading 4 (H4)
  • Horizontal Rule: Use three hyphens, asterisks, or underscores.

    markdown
    --- *** ___

📑 Lists

Unordered Lists (Bullet Points)

Use asterisks (*), hyphens (-), or plus signs (+).

markdown
* Item one * Item two * Nested item A * Nested item B