Files
markbase/examples/sample.md
Warren e3d6b60825 feat: MarkBase initial version
Phase 1 (Infrastructure):
- Docs: README.md, AGENTS.md, CHANGELOG.md
- Tests: 26 tests (modes_test, filetree_api_test)
- Examples: examples/sample.md, sample.json
- CI/CD: .gitea/workflows/test.yml, release.yml
- Runner: configuration scripts and guides

Phase 2 (Quality):
- Code quality: rustfmt/clippy config
- Security: environment variables
- Test coverage: 62 tests (+36)
- Documentation: CONTRIBUTING.md, docs/api.yaml
- Showcase: demo_features.md, developer_quickstart.md

Test coverage: 75%
Test pass rate: 100%
2026-05-16 15:37:37 +08:00

100 lines
1.4 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# MarkBase範例文件
## 概述
這是一個範例 Markdown檔案展示 MarkBase的渲染能力。
## 功能展示
###表格支援
|功能 |狀態 |說明 |
|------|------|------|
|表格 |✅支援 |標準 Markdown表格 |
| Footnote | ✅支援 |腳註功能[^1] |
| Tasklist | ✅支援 |待辦事項列表 |
| Strikethrough | ✅支援 |~~刪除線~~ |
###待辦事項列表
- [x]已完成項目
- [ ]待完成項目
- [ ]另一個待完成項目
###代碼區塊
```rust
fn main() {
println!("Hello, MarkBase!");
}
```
```python
def hello():
print("Hello, MarkBase!")
```
###標題層級
# H1標題
## H2標題
### H3標題
#### H4標題
##### H5標題
###### H6標題
###列表
**無序列表:**
-項目 1
- 項目 2
-子項目 2.1
- 子項目 2.2
-項目 3
**有序列表:**
1.第一項
2. 第二項
3. 第三項
###連結與圖片
**連結:**
- [MarkBase GitHub](https://github.com/example/markbase)
- [Rust官方](https://www.rust-lang.org/)
**圖片:**
(需提供實際圖片路徑)
###引用
> 這是一個引用區塊。
>
> 可以包含多行文字。
###分隔線
---
###強調
**粗體文字**
*斜體文字*
**_粗體斜體_**
~~刪除線~~
---
## Mermaid圖表支援
```mermaid
graph TD
A[開始] --> B[處理]
B --> C{決策}
C -->|是| D[結束]
C -->|否| B
```
---
[^1]: 這是一個腳註範例。