qparse 0.1.2__tar.gz → 0.1.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. {qparse-0.1.2/qparse.egg-info → qparse-0.1.3}/PKG-INFO +2 -2
  2. {qparse-0.1.2 → qparse-0.1.3}/README.md +1 -1
  3. {qparse-0.1.2 → qparse-0.1.3}/pyproject.toml +1 -1
  4. {qparse-0.1.2 → qparse-0.1.3}/qparse/__init__.py +1 -1
  5. {qparse-0.1.2 → qparse-0.1.3}/qparse/markdwon_loader.py +2 -0
  6. {qparse-0.1.2 → qparse-0.1.3/qparse.egg-info}/PKG-INFO +2 -2
  7. {qparse-0.1.2 → qparse-0.1.3}/LICENSE +0 -0
  8. {qparse-0.1.2 → qparse-0.1.3}/MANIFEST.in +0 -0
  9. {qparse-0.1.2 → qparse-0.1.3}/qparse/__main__.py +0 -0
  10. {qparse-0.1.2 → qparse-0.1.3}/qparse/docx_render/__init__.py +0 -0
  11. {qparse-0.1.2 → qparse-0.1.3}/qparse/docx_render/docx_render.py +0 -0
  12. {qparse-0.1.2 → qparse-0.1.3}/qparse/docx_render/write_buffer.py +0 -0
  13. {qparse-0.1.2 → qparse-0.1.3}/qparse/markdwon_document/__init__.py +0 -0
  14. {qparse-0.1.2 → qparse-0.1.3}/qparse/markdwon_document/analysis_document.py +0 -0
  15. {qparse-0.1.2 → qparse-0.1.3}/qparse/markdwon_document/base_document.py +0 -0
  16. {qparse-0.1.2 → qparse-0.1.3}/qparse/markdwon_document/markdwon_document.py +0 -0
  17. {qparse-0.1.2 → qparse-0.1.3}/qparse/markdwon_document/nodes/__init__.py +0 -0
  18. {qparse-0.1.2 → qparse-0.1.3}/qparse/markdwon_document/nodes/answer_node.py +0 -0
  19. {qparse-0.1.2 → qparse-0.1.3}/qparse/markdwon_document/nodes/base_node.py +0 -0
  20. {qparse-0.1.2 → qparse-0.1.3}/qparse/markdwon_document/nodes/img_node.py +0 -0
  21. {qparse-0.1.2 → qparse-0.1.3}/qparse/markdwon_document/nodes/text_node.py +0 -0
  22. {qparse-0.1.2 → qparse-0.1.3}/qparse/markdwon_document/question_document.py +0 -0
  23. {qparse-0.1.2 → qparse-0.1.3}/qparse/markdwon_document/stem_document.py +0 -0
  24. {qparse-0.1.2 → qparse-0.1.3}/qparse/markdwon_document/table_document.py +0 -0
  25. {qparse-0.1.2 → qparse-0.1.3}/qparse/markdwon_render.py +0 -0
  26. {qparse-0.1.2 → qparse-0.1.3}/qparse/qmd_cli.py +0 -0
  27. {qparse-0.1.2 → qparse-0.1.3}/qparse/qmd_packer.py +0 -0
  28. {qparse-0.1.2 → qparse-0.1.3}/qparse/qmd_unpacker.py +0 -0
  29. {qparse-0.1.2 → qparse-0.1.3}/qparse/render_option/__init__.py +0 -0
  30. {qparse-0.1.2 → qparse-0.1.3}/qparse/render_option/default_render_option.py +0 -0
  31. {qparse-0.1.2 → qparse-0.1.3}/qparse/render_option/default_render_template.md +0 -0
  32. {qparse-0.1.2 → qparse-0.1.3}/qparse/render_option/referance.docx +0 -0
  33. {qparse-0.1.2 → qparse-0.1.3}/qparse/render_option/theme.json +0 -0
  34. {qparse-0.1.2 → qparse-0.1.3}/qparse/utils/__init__.py +0 -0
  35. {qparse-0.1.2 → qparse-0.1.3}/qparse/utils/html_full_protector.py +0 -0
  36. {qparse-0.1.2 → qparse-0.1.3}/qparse/utils/path_resolve.py +0 -0
  37. {qparse-0.1.2 → qparse-0.1.3}/qparse.egg-info/SOURCES.txt +0 -0
  38. {qparse-0.1.2 → qparse-0.1.3}/qparse.egg-info/dependency_links.txt +0 -0
  39. {qparse-0.1.2 → qparse-0.1.3}/qparse.egg-info/entry_points.txt +0 -0
  40. {qparse-0.1.2 → qparse-0.1.3}/qparse.egg-info/requires.txt +0 -0
  41. {qparse-0.1.2 → qparse-0.1.3}/qparse.egg-info/top_level.txt +0 -0
  42. {qparse-0.1.2 → qparse-0.1.3}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: qparse
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: Structured Markdown lesson plans to DOCX, with .qmd pack/unpack tooling.
5
5
  Author: hanbuhuai
6
6
  License: MIT
@@ -278,7 +278,7 @@ Loader 会自动:
278
278
 
279
279
  生成规则:
280
280
 
281
- - 填空 / 选择 / 多选:连续客观题合并为 Markdown 表格
281
+ - 填空 / 选择 / 多选:连续客观题合并为 Markdown 表格,每行最多 6 列
282
282
  - 简答:`题号、答案`(使用顿号,避免 Pandoc 识别为有序列表)
283
283
  - 答案只取文本,不保留原始 `<span>`
284
284
 
@@ -244,7 +244,7 @@ Loader 会自动:
244
244
 
245
245
  生成规则:
246
246
 
247
- - 填空 / 选择 / 多选:连续客观题合并为 Markdown 表格
247
+ - 填空 / 选择 / 多选:连续客观题合并为 Markdown 表格,每行最多 6 列
248
248
  - 简答:`题号、答案`(使用顿号,避免 Pandoc 识别为有序列表)
249
249
  - 答案只取文本,不保留原始 `<span>`
250
250
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "qparse"
7
- version = "0.1.2"
7
+ version = "0.1.3"
8
8
  description = "Structured Markdown lesson plans to DOCX, with .qmd pack/unpack tooling."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
@@ -4,7 +4,7 @@ from .markdwon_render import MarkdwonRender
4
4
  from .qmd_packer import QmdPacker
5
5
  from .qmd_unpacker import QmdUnpacker
6
6
 
7
- __version__ = "0.1.2"
7
+ __version__ = "0.1.3"
8
8
 
9
9
  __all__ = [
10
10
  "MarkdownLoader",
@@ -185,6 +185,8 @@ class MarkdownLoader:
185
185
 
186
186
  table_header.append(question_id)
187
187
  table_answers.append(answer)
188
+ if len(table_header) >= 6:
189
+ flush_table()
188
190
 
189
191
  flush_table()
190
192
  return "\n".join(lines).rstrip() + "\n"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: qparse
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: Structured Markdown lesson plans to DOCX, with .qmd pack/unpack tooling.
5
5
  Author: hanbuhuai
6
6
  License: MIT
@@ -278,7 +278,7 @@ Loader 会自动:
278
278
 
279
279
  生成规则:
280
280
 
281
- - 填空 / 选择 / 多选:连续客观题合并为 Markdown 表格
281
+ - 填空 / 选择 / 多选:连续客观题合并为 Markdown 表格,每行最多 6 列
282
282
  - 简答:`题号、答案`(使用顿号,避免 Pandoc 识别为有序列表)
283
283
  - 答案只取文本,不保留原始 `<span>`
284
284
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes