Loading...
Loading...
Compare original and translation side by side
undefinedundefinedundefinedundefinedundefinedundefined
**关键规则**:
- 主章节:`## 1. 标题`(数字 + 点 + 空格 + 标题)
- 子章节:`### 1.1 标题`(数字.数字 + 空格 + 标题)
- 这样才能正确提取目录
**Key Rules**:
- Main chapters: `## 1. Title` (number + dot + space + title)
- Sub-chapters: `### 1.1 Title` (number.number + space + title)
- This ensures correct table of contents extractionscripts/convert.pyundefinedscripts/convert.pyundefinedundefinedundefined## 1. 标题## 标题### 1.1 标题### 标题## 1. Title## Title### 1.1 Title### Title```python
def hello():
print("Hello")
``````python
def hello():
print("Hello")
```| 列1 | 列2 |
|-----|-----|
| 值1 | 值2 || Column1 | Column2 |
|-----|-----|
| Value1 | Value2 |scripts/convert.pyfont-familyscripts/convert.pyfont-familypip3 install markdown2 weasyprintbrew install pango
pip3 install weasyprintpip3 install markdown2 weasyprintbrew install pango
pip3 install weasyprintpython scripts/convert.py tech-guide.md -o "技术指南.pdf"python scripts/convert.py tech-guide.md -o "技术指南.pdf"python scripts/convert.py whitepaper.md --title "产品白皮书" --author "团队"python scripts/convert.py whitepaper.md --title "产品白皮书" --author "团队"scripts/convert.pyscripts/styles.csstemplates/cover.htmlscripts/convert.pyscripts/styles.csstemplates/cover.html