Fix markdown rendering test file

This commit is contained in:
Test User 2026-02-15 02:35:24 +09:00
parent 70ce3506f4
commit 650d9da126
1 changed files with 88 additions and 82 deletions

View File

@ -1,82 +1,88 @@
# Markdown Rendering Test
This file tests Gitea's ability to render various Markdown elements.
## 1. Text Formatting
*Italic*, **Bold**, ***Bold Italic***, ~~Strikethrough~~, \Inline Code
## 2. Lists
### Unordered
- Item 1
- Item 2
- Subitem 2.1
- Subitem 2.2
### Ordered
1. Step One
2. Step Two
3. Step Three
### Task List
- [x] Completed task
- [ ] Incomplete task
## 3. Code Blocks
\\python
def hello_world():
print('Hello, Gitea!')
\
\\json
{
" key\: \value\,
\list\: [1, 2, 3]
}
\
## 4. Tables
| Feature | Supported | Notes |
| :--- | :---: | ---: |
| Tables | Yes | Left/Center/Right aligned |
| Code | Yes | Syntax highlighting |
| Images | Yes | Should render |
## 5. Blockquotes and Alerts
> This is a standard blockquote.
> It can span multiple lines.
> [!NOTE]
> This is a Gitea/GitHub style alert.
> [!WARNING]
> Proceed with caution!
## 6. Links and Images
[Gitea Website](https://gitea.io)
![Gitea Logo](https://gitea.io/images/gitea.png)
## 7. Mathematical Formulas
Display Math:
d:\Project\GitBasedDevelopmentEnvironmentSetup \sqrt{3x-1}+(1+x)^2 d:\Project\GitBasedDevelopmentEnvironmentSetup
Inline Math: \=mc^2$
## 8. Mermaid Diagrams
\\mermaid
sequenceDiagram
participant Alice
participant Bob
Alice->>John: Hello John, how are you?
loop Healthcheck
John->>John: Fight against hypochondria
end
Note right of John: Rational thoughts <br/>prevail!
John-->>Alice: Great!
John->>Bob: How about you?
Bob-->>John: Jolly good!
\
\\mermaid
graph TD
A[Start] --> B{Is it working?};
B -- Yes --> C[Great!];
B -- No --> D[Debug];
D --> B;
\EOF
# Markdown Rendering Test
This file tests Gitea's ability to render various Markdown elements.
## 1. Text Formatting
*Italic*, **Bold**, ***Bold Italic***, ~~Strikethrough~~, `Inline Code`
## 2. Lists
### Unordered
- Item 1
- Item 2
- Subitem 2.1
- Subitem 2.2
### Ordered
1. Step One
2. Step Two
3. Step Three
### Task List
- [x] Completed task
- [ ] Incomplete task
## 3. Code Blocks
```python
def hello_world():
print('Hello, Gitea!')
```
```json
{
"key": "value",
"list": [1, 2, 3]
}
```
## 4. Tables
| Feature | Supported | Notes |
| :--- | :---: | ---: |
| Tables | Yes | Left/Center/Right aligned |
| Code | Yes | Syntax highlighting |
| Images | Yes | Should render |
## 5. Blockquotes and Alerts
> This is a standard blockquote.
> It can span multiple lines.
> [!NOTE]
> This is a Gitea/GitHub style alert.
> [!WARNING]
> Proceed with caution!
## 6. Links and Images
[Gitea Website](https://gitea.io)
![Gitea Logo](https://gitea.io/images/gitea.png)
## 7. Mathematical Formulas
Display Math:
$$
\sqrt{3x-1}+(1+x)^2
$$
Inline Math: $E=mc^2$
## 8. Mermaid Diagrams
```mermaid
sequenceDiagram
participant Alice
participant Bob
Alice->>John: Hello John, how are you?
loop Healthcheck
John->>John: Fight against hypochondria
end
Note right of John: Rational thoughts <br/>prevail!
John-->>Alice: Great!
John->>Bob: How about you?
Bob-->>John: Jolly good!
```
```mermaid
graph TD
A[Start] --> B{Is it working?};
B -- Yes --> C[Great!];
B -- No --> D[Debug];
D --> B;
```