"""测试配置和共享 fixtures。""" import pytest @pytest.fixture def sample_markdown(): """示例 Markdown 文本。""" return """# 标题 这是一段测试文本。 ## 子标题 - 列表项 1 - 列表项 2 ### 另一个标题 这是更多的文本。 """