Agent-Logs-Url: https://github.com/purocean/yn/sessions/423ca3b8-9674-4d0f-98d1-bc1fd5c33c5d Co-authored-by: purocean <7115690+purocean@users.noreply.github.com>
2.2 KiB
Basic Markdown Syntax Test
This document tests all basic markdown syntax features supported by Yank Note.
Headings
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Paragraphs
This is a paragraph. It contains multiple sentences.
This sentence is on a new line but in the same paragraph (with breaks: true, it renders as a line break).
This is another paragraph separated by a blank line.
Emphasis
italic text and also italic
bold text and also bold
bold and italic and also bold and italic
strikethrough text
Links
Auto-linked URL: https://example.com (with linkify: true)
Images
Blockquotes
This is a blockquote.
It can span multiple paragraphs.
Nested blockquotes:
This is a nested blockquote.
And even deeper.
Lists
Unordered List
- Item 1
- Item 2
- Sub-item 2.1
- Sub-item 2.2
- Sub-sub-item 2.2.1
- Item 3
- Alternative bullet style
- Item B
- Another bullet style
- Item C
Ordered List
- First item
- Second item
- Sub-item 2.1
- Sub-item 2.2
- Third item
Mixed List
- Ordered item
- Unordered sub-item
- Another sub-item
- Another ordered item
Horizontal Rules
Inline Code
Use console.log() to print output.
Inline code with backticks: code with ` inside.
Code Blocks
Indented code block:
function hello() {
console.log("Hello, World!");
}
Fenced code block:
function greet(name) {
return `Hello, ${name}!`;
}
def greet(name):
return f"Hello, {name}!"
Plain code block without language
Escape Characters
*Not italic*
# Not a heading
[Not a link]
`Not inline code`
Line Breaks
First line with two trailing spaces
Second line (hard break)
First line with backslash
Second line (hard break)