Logo
Mardown Formatting and Syntax Highlighting
Published on

MardownΒ FormattingΒ andΒ SyntaxΒ Highlighting

Authors
  • Avatar of Eric deQuevedo πŸ˜„
    Name
    Eric deQuevedo πŸ˜„
    Twitter

A sample post with markdown.

Inline Highlighting

Sample of inline highlighting sum = parseInt(num1) + parseInt(num2)

Markdown Features with Examples πŸš€

Here are a ton of cool Markdown features and formatting that you can use to make your text more readable and visually appealing:

  • Bold text: **bold** β†’ bold
  • Italic text: *italic* β†’ italic
  • Code blocks: `code` β†’ code
  • Lists: - list item β†’
    • list item
  • Links: [Links](https://www.example.com) β†’ Links
  • Images: ![Images](https://via.placeholder.com/150) β†’ Images
  • Tables:
Header 1Header 2
Cell 1Cell 2
  • Strikethrough text: ~~strikethrough~~ β†’ strikethrough
  • Superscript text: H^2^O β†’ H2O
  • Subscript text: H~2~O β†’ H2O
  • Emoji: :smile: β†’ πŸ˜„

You can also use Markdown to create custom formatting, such as:

  • Blockquotes: > Blockquotes β†’ Blockquotes

  • Horizontal rules: --- or *** β†’

  • Definition lists: Term : Definition

  • Ordered lists: 1. Ordered list item β†’

    1. Ordered list item
  • Unordered lists: - Unordered list item β†’

    • Unordered list item
graph TD
  A[Web Application]
  B[Database]
  C[API]
  D[Load Balancer]
  A-->D
  D-->B
  D-->C

Markdown is a powerful tool that can be used to create formatted text that is both readable and visually appealing. By learning the basics of Markdown, you can improve the readability of your text and make it more engaging for your readers.