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
- Ordered item 1
- Ordered item 2
Task list:
- Finished task
- Unfinished task
Links and images
A link to GitHub.
An inline 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
| Name | Value | Description |
|---|---|---|
| Foo | 1 | Example row one |
| Bar | 2 | Example 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.