About Markdown Syntax
Markdown is a language that allows you to style text with simple notation. It is often used in blog posts, documentation, and GitHub repository README files. Below are examples of typical syntax.Headings
Headings are written with lines starting with#. The more # there are, the lower the level of the heading.
- Code Example
- Output
Emphasis
Emphasis is written by enclosing text with* or _.
- Code Example
- Output
Lists
Lists are written with lines starting with- or 1.. - represents unordered lists, and 1. represents ordered lists.
- Code Example
- Output
Links
Links are written as[link text](URL).
- Code Example
- Output
Images
Images are written as.
- Code Example
- Output
Code
Code is written by enclosing it with ```.- Code Example
- Output
Github Flavored Markdown
Morph supports GitHub Flavored Markdown (GFM). GFM is an extended specification of Markdown provided by GitHub, adding features such as tables, task lists, and syntax highlighting for code blocks.Tables
Tables are written with lines separated by|.
- Code Example
- Output
Task Lists
Task lists are written with- [ ] or - [x].
- Code Example
- Output
Syntax Highlighting for Code Blocks
Syntax highlighting for code blocks is written as ```language.- Code Example
- Output
HTML
Markdown can also embed HTML. By embedding HTML, you can achieve more advanced layouts and functions that cannot be expressed with Markdown syntax. However, styles and class names must be written according to JSX notation.- Code Example
- Output
- Code Example
- Output
- Code Example
- Output