MDGraph example

This file demonstrates common GitHub Flavored Markdown (GFM) features.

Text formatting

You can write bold, italic, strikethrough, and inline code.

Lists

  • Unordered item 1
  • Unordered item 2
    • Nested item
  1. Ordered item 1
  2. Ordered item 2

Task list:

  • Finished task
  • Unfinished task

A link to GitHub.

An inline image:

Placeholder image

Code blocks

Inline code: npm install.

Inline code with highlight: const sum = (a: number, b: number): number => a + b;.

Fenced code blocks:

echo "Hello from bash"
function add(a: number, b: number): number {
  return a + b;
}

Tables

NameValueDescription
Foo1Example row one
Bar2Example row two

Blockquote

This is a blockquote. It can span multiple lines.

Horizontal rule


Wrapping behavior

This is a very long sentence written on a single line without any manual line breaks to help test how different renderers and editors handle automatic wrapping behavior when the text extends far beyond the typical viewport width, ensuring that there are no unexpected layout shifts or formatting issues when viewing this document in various environments.

Another extremely long sentence follows here to further verify wrapping and scrolling behavior, demonstrating that even when prose grows to an exaggerated length with many clauses, commas, and descriptive fragments, it should still remain readable, correctly wrapped, and visually consistent across terminals, code editors, and web-based Markdown viewers.