250606 Update: 刚刚重构 预计十号补完.
1 Style Testing
1.1 Text Formatting
This is a regular paragraph containing bold and italic text. It also includes strikethrough and inline code.
You can also combine formatting like bold and italic or bold with inline code.
1.2 Lists
1.2.1 Unordered Lists
- Item 1
- Item 2
- Sub-item 2.1
- Sub-item 2.2
- Nested sub-item
- Item 3
- Item 4 with a longer description to test text wrapping
1.2.2 Ordered Lists
- First step
- Second step
- Sub-step A
- Sub-step B
- Deeply nested step
- Third step
- Final step
1.3 Quotes
This is a quote block. It can contain multiple paragraphs and demonstrates how blockquotes appear in Obsidian.
This is a nested quote within the main quote.
And this is a triple-nested quote for testing deep nesting.
1.4 Code Blocks
1.4.1 Python Example
def hello_world():
"""A simple greeting function for testing code blocks."""
print("Hello, Markdown!")
return "Success"
# Call the function
result = hello_world()
print(f"Function returned: {result}")
1.4.2 JavaScript Example
const greetUser = (name) => {
console.log(`Hello, ${name}!`);
return `Welcome to Obsidian, ${name}`;
};
greetUser("Markdown Tester");
1.5 Tables
| Column 1 | Column 2 | Column 3 | Column 4 |
|---|---|---|---|
| A1 | B1 | C1 | D1 |
| A2 | B2 | C2 | D2 |
| A3 | B3 | C3 | D3 |
| Longer content | Numbers: 123 | Bold in table | code in table |
1.5.1 Alignment Test Table
| Left Aligned | Center Aligned | Right Aligned |
|---|---|---|
| Left | Center | Right |
| Test content | More content | Final column |
1.6 Horizontal Lines
You can also create horizontal lines with asterisks:
Or with underscores:
1.7 Links and Images
1.7.1 Links
- OpenAI Website
- [Internal Link Example](Another Note)
- Link with title
- https://www.direct-url-link.com
1.7.2 Images
Note: Replace with actual image path for testing in Obsidian
1.8 Task Lists
1.9 Mathematical Formulas
Note: Requires MathJax or similar plugin in Obsidian
Inline formula:
Block-level formula: $$\frac{n!}{k!(n-k)!} = \binom{n}{k}$$
Complex formula example: $$\int_{-\infty}^{\infty} e^{-x^2} dx = \sqrt{\pi}$$
2 Advanced Features
2.1 Highlighting
This text is highlighted
You can also use bold highlighted text and italic highlighted text.
2.2 HTML Elements
HTML highlighting
<code>HTML-style code tags</code>
2.3 Obsidian-Specific Features
2.3.1 Tags
#markdown #obsidian #testing #syntax
2.3.2 Callouts
2.3.3 Footnotes
This sentence has a footnote.[1]
This is the footnote content that appears at the bottom. ↩︎