Mardown Formatting and Syntax Highlighting

Mardown Formatting and Syntax Highlighting

Mardown Formatting and Syntax Highlighting

Published on

Sunday, January 8, 2023

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://cdn.hashnode.com/res/hashnode/image/upload/v1720993175981/59ae429f-46f3-4c44-9581-91301c9c15ff.png) β†’ Images
  • Tables:

Header 1

Header 2

Cell 1

Cell 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.

Discuss on Twitter β€’ View on GitHub

Tags

markdown

code

features

education

Previous Article

Github

Next Article

Functional Mushrooms: Natures Superpower πŸ„πŸ’ŠπŸŒΏ

← Back to the blog

Β