Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -116,7 +116,7 @@ class MarkdownRenderer: | @@ -116,7 +116,7 @@ class MarkdownRenderer: | ||
| 116 | heading_line = f"{hashes} {self._escape_text(text)}{subtitle_text}" | 116 | heading_line = f"{hashes} {self._escape_text(text)}{subtitle_text}" |
| 117 | # 章节内的一级标题前额外插入一个空行(不影响文档题目) | 117 | # 章节内的一级标题前额外插入一个空行(不影响文档题目) |
| 118 | if level == 1: | 118 | if level == 1: |
| 119 | - return f"\n{heading_line}" | 119 | + return f"\n\n\n\n\n{heading_line}" |
| 120 | return heading_line | 120 | return heading_line |
| 121 | 121 | ||
| 122 | def _render_paragraph(self, block: Dict[str, Any]) -> str: | 122 | def _render_paragraph(self, block: Dict[str, Any]) -> str: |
-
Please register or login to post a comment