Add markdown rendering test file
This commit is contained in:
parent
86812dfb1d
commit
21e8d4e96a
|
|
@ -0,0 +1,59 @@
|
|||
# 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)
|
||||
|
||||

|
||||
|
||||
## 7. Mathematical Formulas (if enabled)
|
||||
d:\Project\GitBasedDevelopmentEnvironmentSetup \sqrt{3x-1}+(1+x)^2 d:\Project\GitBasedDevelopmentEnvironmentSetup
|
||||
|
||||
Loading…
Reference in New Issue