markdown-environments 2.1.1__tar.gz → 2.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 (183) hide show
  1. markdown_environments-2.1.3/.forgejo/workflows/build_and_publish.yaml +30 -0
  2. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/PKG-INFO +4 -3
  3. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/README.md +1 -1
  4. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/docs/requirements.txt +2 -2
  5. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/pyproject.toml +5 -4
  6. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/requirements.txt +4 -4
  7. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/src/markdown_environments/__init__.py +1 -1
  8. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/src/markdown_environments/div.py +1 -1
  9. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/src/markdown_environments/dropdown.py +2 -2
  10. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/src/markdown_environments/nested_env.py +2 -2
  11. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/src/markdown_environments/thms.py +9 -9
  12. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/src/markdown_environments/thms_impls_base.py +1 -1
  13. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/test_thms.py +2 -2
  14. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_heading/test_thm_heading.py +1 -1
  15. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms_impls_base/test_thms_impls_base.py +1 -1
  16. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/.github/dependabot.yml +0 -0
  17. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/.github/workflows/publish.yaml +0 -0
  18. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/.gitignore +0 -0
  19. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/.readthedocs.yaml +0 -0
  20. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/CONTRIBUTING.md +0 -0
  21. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/LICENSE +0 -0
  22. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/docs/Makefile +0 -0
  23. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/docs/_static/css/custom.css +0 -0
  24. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/docs/api.rst +0 -0
  25. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/docs/conf.py +0 -0
  26. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/docs/contributing.rst +0 -0
  27. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/docs/example_usage.rst +0 -0
  28. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/docs/index.rst +0 -0
  29. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/src/markdown_environments/utils.py +0 -0
  30. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/__init__.py +0 -0
  31. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/conftest.py +0 -0
  32. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/div/__init__.py +0 -0
  33. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/div/fail_1.txt +0 -0
  34. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/div/fail_1_expected.txt +0 -0
  35. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/div/fail_2.txt +0 -0
  36. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/div/fail_2_expected.txt +0 -0
  37. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/div/fail_3.txt +0 -0
  38. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/div/fail_3_expected.txt +0 -0
  39. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/div/success_1.txt +0 -0
  40. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/div/success_1_expected.txt +0 -0
  41. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/div/success_2.txt +0 -0
  42. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/div/success_2_expected.txt +0 -0
  43. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/div/test_div.py +0 -0
  44. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/dropdown/__init__.py +0 -0
  45. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/dropdown/fail_1.txt +0 -0
  46. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/dropdown/fail_1_expected.txt +0 -0
  47. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/dropdown/fail_2.txt +0 -0
  48. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/dropdown/fail_2_expected.txt +0 -0
  49. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/dropdown/fail_3.txt +0 -0
  50. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/dropdown/fail_3_expected.txt +0 -0
  51. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/dropdown/fail_4.txt +0 -0
  52. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/dropdown/fail_4_expected.txt +0 -0
  53. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/dropdown/fail_5.txt +0 -0
  54. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/dropdown/fail_5_expected.txt +0 -0
  55. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/dropdown/fail_6.txt +0 -0
  56. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/dropdown/fail_6_expected.txt +0 -0
  57. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/dropdown/success_1.txt +0 -0
  58. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/dropdown/success_1_expected.txt +0 -0
  59. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/dropdown/success_2.txt +0 -0
  60. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/dropdown/success_2_expected.txt +0 -0
  61. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/dropdown/test_dropdown.py +0 -0
  62. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/nested_env/__init__.py +0 -0
  63. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/nested_env/fail_1.txt +0 -0
  64. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/nested_env/fail_1_expected.txt +0 -0
  65. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/nested_env/fail_2.txt +0 -0
  66. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/nested_env/fail_2_expected.txt +0 -0
  67. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/nested_env/fail_3.txt +0 -0
  68. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/nested_env/fail_3_expected.txt +0 -0
  69. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/nested_env/fail_4.txt +0 -0
  70. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/nested_env/fail_4_expected.txt +0 -0
  71. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/nested_env/success_1.txt +0 -0
  72. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/nested_env/success_1_expected.txt +0 -0
  73. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/nested_env/success_2.txt +0 -0
  74. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/nested_env/success_2_expected.txt +0 -0
  75. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/nested_env/success_3.txt +0 -0
  76. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/nested_env/success_3_expected.txt +0 -0
  77. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/nested_env/success_4.txt +0 -0
  78. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/nested_env/success_4_expected.txt +0 -0
  79. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/nested_env/test_nested_env.py +0 -0
  80. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/nesting/__init__.py +0 -0
  81. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/nesting/docs_behavior_1.txt +0 -0
  82. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/nesting/docs_behavior_1_expected.txt +0 -0
  83. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/nesting/test_nesting.py +0 -0
  84. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/tests_utils.py +0 -0
  85. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/__init__.py +0 -0
  86. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/fail_1.txt +0 -0
  87. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/fail_1_expected.txt +0 -0
  88. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/fail_2.txt +0 -0
  89. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/fail_2_expected.txt +0 -0
  90. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/fail_3.txt +0 -0
  91. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/fail_3_expected.txt +0 -0
  92. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/success_1.txt +0 -0
  93. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/success_1_expected.txt +0 -0
  94. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/success_2.txt +0 -0
  95. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/success_2_expected.txt +0 -0
  96. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/success_3.txt +0 -0
  97. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/success_3_expected.txt +0 -0
  98. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/success_4.txt +0 -0
  99. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/success_4_expected.txt +0 -0
  100. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/success_5.txt +0 -0
  101. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/success_5_expected.txt +0 -0
  102. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/success_6.txt +0 -0
  103. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/success_6_expected.txt +0 -0
  104. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/success_7.txt +0 -0
  105. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/success_7_expected.txt +0 -0
  106. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/success_8.txt +0 -0
  107. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/success_8_expected.txt +0 -0
  108. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_counter/__init__.py +0 -0
  109. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_counter/fail_1.txt +0 -0
  110. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_counter/fail_1_expected.txt +0 -0
  111. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_counter/success_1.txt +0 -0
  112. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_counter/success_1_expected.txt +0 -0
  113. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_counter/success_2.txt +0 -0
  114. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_counter/success_2_expected.txt +0 -0
  115. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_counter/success_3.txt +0 -0
  116. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_counter/success_3_expected.txt +0 -0
  117. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_counter/success_4.txt +0 -0
  118. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_counter/success_4_expected.txt +0 -0
  119. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_counter/success_5.txt +0 -0
  120. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_counter/success_5_expected.txt +0 -0
  121. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_counter/test_thm_counter.py +0 -0
  122. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_heading/__init__.py +0 -0
  123. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_heading/fail_1.txt +0 -0
  124. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_heading/fail_1_expected.txt +0 -0
  125. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_heading/success_1.txt +0 -0
  126. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_heading/success_1_expected.txt +0 -0
  127. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_heading/success_2.txt +0 -0
  128. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_heading/success_2_expected.txt +0 -0
  129. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_heading/success_3.txt +0 -0
  130. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_heading/success_3_expected.txt +0 -0
  131. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_heading/success_4.txt +0 -0
  132. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_heading/success_4_expected.txt +0 -0
  133. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_heading/success_5.txt +0 -0
  134. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_heading/success_5_expected.txt +0 -0
  135. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_heading/success_6.txt +0 -0
  136. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_heading/success_6_expected.txt +0 -0
  137. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_heading/success_7.txt +0 -0
  138. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_heading/success_7_expected.txt +0 -0
  139. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_heading/success_8.txt +0 -0
  140. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_heading/success_8_expected.txt +0 -0
  141. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_ref/__init__.py +0 -0
  142. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_ref/fail_1.txt +0 -0
  143. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_ref/fail_1_expected.txt +0 -0
  144. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_ref/success_1.txt +0 -0
  145. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_ref/success_1_expected.txt +0 -0
  146. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_ref/success_2.txt +0 -0
  147. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_ref/success_2_expected.txt +0 -0
  148. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_ref/success_3.txt +0 -0
  149. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_ref/success_3_expected.txt +0 -0
  150. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_ref/success_4.txt +0 -0
  151. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_ref/success_4_expected.txt +0 -0
  152. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_ref/success_5.txt +0 -0
  153. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_ref/success_5_expected.txt +0 -0
  154. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms/thm_ref/test_thm_ref.py +0 -0
  155. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms_impls_base/__init__.py +0 -0
  156. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms_impls_base/gen_thm_heading_md_1.txt +0 -0
  157. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms_impls_base/gen_thm_heading_md_1_expected.txt +0 -0
  158. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms_impls_base/gen_thm_heading_md_2.txt +0 -0
  159. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms_impls_base/gen_thm_heading_md_2_expected.txt +0 -0
  160. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms_impls_base/gen_thm_heading_md_3.txt +0 -0
  161. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms_impls_base/gen_thm_heading_md_3_expected.txt +0 -0
  162. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms_impls_base/gen_thm_heading_md_4.txt +0 -0
  163. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms_impls_base/gen_thm_heading_md_4_expected.txt +0 -0
  164. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms_impls_base/gen_thm_heading_md_5.txt +0 -0
  165. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms_impls_base/gen_thm_heading_md_5_expected.txt +0 -0
  166. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms_impls_base/gen_thm_heading_md_6.txt +0 -0
  167. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms_impls_base/gen_thm_heading_md_6_expected.txt +0 -0
  168. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms_impls_base/gen_thm_heading_md_7.txt +0 -0
  169. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms_impls_base/gen_thm_heading_md_7_expected.txt +0 -0
  170. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms_impls_base/gen_thm_heading_md_8.txt +0 -0
  171. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms_impls_base/gen_thm_heading_md_8_expected.txt +0 -0
  172. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms_impls_base/prepend_thm_heading_md_1.txt +0 -0
  173. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms_impls_base/prepend_thm_heading_md_1_expected.txt +0 -0
  174. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms_impls_base/prepend_thm_heading_md_2.txt +0 -0
  175. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms_impls_base/prepend_thm_heading_md_2_expected.txt +0 -0
  176. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms_impls_base/prepend_thm_heading_md_3.txt +0 -0
  177. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms_impls_base/test_method_1.txt +0 -0
  178. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms_impls_base/test_method_2.txt +0 -0
  179. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms_impls_base/test_method_3.txt +0 -0
  180. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms_impls_base/test_method_4.txt +0 -0
  181. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/thms_impls_base/test_method_5.txt +0 -0
  182. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/utils/__init__.py +0 -0
  183. {markdown_environments-2.1.1 → markdown_environments-2.1.3}/tests/utils/test_utils.py +0 -0
@@ -0,0 +1,30 @@
1
+ name: build and publish to pypi :3
2
+
3
+ on:
4
+ release:
5
+ types: [published]
6
+ # this is just for debugging/testing workflow runs
7
+ workflow_dispatch:
8
+
9
+ jobs:
10
+ build_and_publish:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: https://data.forgejo.org/actions/checkout@v7
14
+
15
+ # this requires ubuntu and doesn't work on debian 3:
16
+ - uses: https://data.forgejo.org/actions/setup-python@v7
17
+ with:
18
+ python-version: 3.14
19
+
20
+ - name: install hatch
21
+ run: pip install hatch
22
+
23
+ - name: build package
24
+ run: hatch build
25
+
26
+ - name: test package
27
+ run: hatch test
28
+
29
+ - name: publish package
30
+ run: hatch publish --user __token__ --auth ${{ secrets.PYPI_TOKEN }}
@@ -1,8 +1,9 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: markdown-environments
3
- Version: 2.1.1
3
+ Version: 2.1.3
4
4
  Summary: Highly customizable extensions for Python-Markdown in the style of LaTeX environments/theorems
5
- Project-URL: Homepage, https://github.com/AnonymousRand/python_markdown_environments
5
+ Project-URL: Homepage, https://git.anonymousrand.xyz/AnonymousRand/python_markdown_environments
6
+ Project-URL: Mirror, https://github.com/AnonymousRand/python_markdown_environments
6
7
  Project-URL: Documentation, https://python-markdown-environments.readthedocs.io
7
8
  Project-URL: Issues, https://github.com/AnonymousRand/python_markdown_environments/issues
8
9
  Author: AnonymousRand
@@ -23,7 +24,7 @@ Description-Content-Type: text/markdown
23
24
 
24
25
  # Python-Markdown Environments
25
26
 
26
- Replicating amsthm features and syntax in Markdown so you can publish mathematical papers in HTML—because what mathematician *hasn't* tried to publish in the very reputable journal called *Their Janky Flask Personal Site That No One Will Ever See*?
27
+ Replicating `amsthm` features and syntax in Markdown so you can publish mathematical papers in HTML—because what mathematician *hasn't* tried to publish in the very reputable journal called *Their Janky Flask Personal Site That No One Will Ever See*?
27
28
 
28
29
  This [Python-Markdown](https://github.com/Python-Markdown/markdown) extension uses LaTeX-like syntax
29
30
  ```
@@ -1,6 +1,6 @@
1
1
  # Python-Markdown Environments
2
2
 
3
- Replicating amsthm features and syntax in Markdown so you can publish mathematical papers in HTML—because what mathematician *hasn't* tried to publish in the very reputable journal called *Their Janky Flask Personal Site That No One Will Ever See*?
3
+ Replicating `amsthm` features and syntax in Markdown so you can publish mathematical papers in HTML—because what mathematician *hasn't* tried to publish in the very reputable journal called *Their Janky Flask Personal Site That No One Will Ever See*?
4
4
 
5
5
  This [Python-Markdown](https://github.com/Python-Markdown/markdown) extension uses LaTeX-like syntax
6
6
  ```
@@ -1,7 +1,7 @@
1
1
  alabaster==1.0.0
2
2
  babel==2.16.0
3
3
  beautifulsoup4==4.12.3
4
- certifi==2024.12.14
4
+ certifi==2026.10.19
5
5
  charset-normalizer==3.4.1
6
6
  docutils==0.21.2
7
7
  idna==3.15
@@ -18,7 +18,7 @@ Pygments==2.20.0
18
18
  PyYAML==6.0.2
19
19
  requests==2.33.0
20
20
  snowballstemmer==2.2.0
21
- soupsieve==2.9.0
21
+ soupsieve==4.0.0
22
22
  Sphinx==8.1.3
23
23
  sphinx-rtd-theme==3.0.2
24
24
  sphinxcontrib-applehelp==2.0.0
@@ -31,7 +31,8 @@ dependencies = [
31
31
  ]
32
32
 
33
33
  [project.urls]
34
- Homepage = "https://github.com/AnonymousRand/python_markdown_environments"
34
+ Homepage = "https://git.anonymousrand.xyz/AnonymousRand/python_markdown_environments"
35
+ "Mirror" = "https://github.com/AnonymousRand/python_markdown_environments"
35
36
  Documentation = "https://python-markdown-environments.readthedocs.io"
36
37
  Issues = "https://github.com/AnonymousRand/python_markdown_environments/issues"
37
38
 
@@ -44,7 +45,7 @@ extra-dependencies = [
44
45
  "mypy>=1.0.0",
45
46
  ]
46
47
  [tool.hatch.envs.types.scripts]
47
- check = "mypy --install-types --non-interactive {args:src/markdown_environments tests}"
48
+ check = "mypy --install-types --non-interactive {args:src/markdown_environments/ tests}"
48
49
 
49
50
  [tool.coverage.run]
50
51
  source_pkgs = ["markdown_environments"]
@@ -53,8 +54,8 @@ parallel = true
53
54
  omit = []
54
55
 
55
56
  [tool.coverage.paths]
56
- markdown_environments = ["src/markdown_environments", "*/markdown-environments/src/markdown_environments"]
57
- tests = ["tests", "*/markdown-environments/tests"]
57
+ markdown_environments = ["src/markdown_environments/", "*/markdown-environments/src/markdown_environments/"]
58
+ tests = ["tests", "*/markdown-environments/tests/"]
58
59
 
59
60
  [tool.coverage.report]
60
61
  exclude_lines = [
@@ -4,7 +4,7 @@ astroid==3.3.8
4
4
  babel==2.16.0
5
5
  backports.tarfile==1.2.0
6
6
  beautifulsoup4==4.12.3
7
- certifi==2024.12.14
7
+ certifi==2026.10.19
8
8
  cffi==2.0.0
9
9
  charset-normalizer==3.4.1
10
10
  click==8.1.8
@@ -12,7 +12,7 @@ cryptography==50.0.0
12
12
  distlib==0.3.9
13
13
  docutils==0.21.2
14
14
  exceptiongroup==1.2.2
15
- filelock==3.20.3
15
+ filelock==4.2.1
16
16
  h11==0.16.0
17
17
  hatch==1.14.0
18
18
  hatchling==1.27.0
@@ -52,7 +52,7 @@ SecretStorage==3.3.3
52
52
  shellingham==1.5.4
53
53
  sniffio==1.3.1
54
54
  snowballstemmer==2.2.0
55
- soupsieve==2.9.0
55
+ soupsieve==4.0.0
56
56
  Sphinx==8.1.3
57
57
  sphinx-autoapi==3.4.0
58
58
  sphinx-rtd-theme==3.0.2
@@ -70,6 +70,6 @@ trove-classifiers==2024.10.21.16
70
70
  typing_extensions==4.13.2
71
71
  urllib3==2.8.0
72
72
  userpath==1.9.2
73
- uv==0.11.15
73
+ uv==0.13.4
74
74
  zipp==3.20.2
75
75
  zstandard==0.23.0
@@ -24,4 +24,4 @@ from .nested_env import NestedEnvExtension
24
24
  from .thms import ThmsExtension
25
25
 
26
26
 
27
- __version__ = "2.1.1"
27
+ __version__ = "2.1.3"
@@ -36,7 +36,7 @@ class DivProcessor(BlockProcessor, ThmsImplsBase):
36
36
  delim_found = True
37
37
  # remove ending delim
38
38
  blocks[i] = self.end_pattern.sub("", block)
39
- # build HTML
39
+ # build html
40
40
  elem = etree.SubElement(parent, "div")
41
41
  if self.html_class != "" or self.type_opts.get("html_class") != "":
42
42
  elem.set("class", f"{self.html_class} {self.type_opts.get('html_class')}")
@@ -74,7 +74,7 @@ class DropdownProcessor(BlockProcessor, ThmsImplsBase):
74
74
  has_valid_summary = True
75
75
  # remove ending delim
76
76
  blocks[i] = self.SUMMARY_END_REGEX.sub("", block)
77
- # build HTML for summary
77
+ # build html for summary
78
78
  blocks[i] = blocks[i].rstrip() # remove whitespace from newline after `\end{}`
79
79
  self.parser.parseBlocks(summary_elem, blocks[:i + 1])
80
80
  # remove used blocks
@@ -97,7 +97,7 @@ class DropdownProcessor(BlockProcessor, ThmsImplsBase):
97
97
  delim_found = True
98
98
  # remove ending delim
99
99
  blocks[i] = self.end_pattern.sub("", block)
100
- # build HTML for dropdown
100
+ # build html for dropdown
101
101
  details_elem = etree.SubElement(parent, "details")
102
102
  if self.html_class != "" or self.type_opts.get("html_class") != "":
103
103
  details_elem.set(
@@ -92,7 +92,7 @@ class NestedEnvProcessor(BlockProcessor):
92
92
  delim_found = True
93
93
  # remove ending delim
94
94
  blocks[i] = self.inner_end_pattern.sub("", block)
95
- # build HTML for inner
95
+ # build html for inner
96
96
  inner_elem = etree.Element(self.type_opts["inner_html_tag"])
97
97
  if self.type_opts["inner_html_class"] != "":
98
98
  inner_elem.set("class", self.type_opts["inner_html_class"])
@@ -115,7 +115,7 @@ class NestedEnvProcessor(BlockProcessor):
115
115
  delim_found = True
116
116
  # remove ending delim
117
117
  blocks[i] = self.end_pattern.sub("", block)
118
- # build HTML for outer
118
+ # build html for outer
119
119
  outer_elem = etree.SubElement(parent, self.type_opts["html_tag"])
120
120
  if (self.html_class != "") or (self.type_opts["html_class"] != ""):
121
121
  html_class = self.html_class + " " + self.type_opts["html_class"]
@@ -57,7 +57,7 @@ class ThmCounterProcessor(Treeprocessor):
57
57
  output_counter = list(map(str, self.counter[:len(parsed_counter)]))
58
58
  output_counter_text = ".".join(output_counter)
59
59
  if hidden_name is not None:
60
- # since backslashes are escaped in final HTML and in thm heading's
60
+ # since backslashes are escaped in final html and in thm heading's
61
61
  # `Postprocessor`, but not yet in `Treeprocessor` (otherwise, `\ref{}` on
62
62
  # thm counters will require double the backslashes)
63
63
  hidden_name = hidden_name.replace("\\\\", "\\")
@@ -80,7 +80,7 @@ class ThmCounterProcessor(Treeprocessor):
80
80
  return self.thm_ref_map
81
81
 
82
82
 
83
- # `Postprocessor` instead of `Treeprocessor` to avoid placeholders for Markdown syntax
83
+ # `Postprocessor` instead of `Treeprocessor` to avoid placeholders for markdown syntax
84
84
  # in thm heading
85
85
  class ThmHeadingProcessor(Postprocessor):
86
86
 
@@ -97,7 +97,7 @@ class ThmHeadingProcessor(Postprocessor):
97
97
 
98
98
  def run(self, text):
99
99
  def format_for_html(s: str) -> str:
100
- soup = BeautifulSoup(s, "html.parser") # remove any HTML tags
100
+ soup = BeautifulSoup(s, "html.parser") # remove any html tags
101
101
  s = soup.get_text()
102
102
  s = s.lower()
103
103
  # also remove trailing hyphens since ugly
@@ -130,17 +130,17 @@ class ThmHeadingProcessor(Postprocessor):
130
130
  elif thm_hidden_name is not None:
131
131
  elem.set("id", self.html_id_prefix + format_for_html(thm_hidden_name))
132
132
  self.thm_ref_map[thm_hidden_name] = thm_type
133
- # generate theorem punct HTML, applying `emph` styling to it as well (even if
133
+ # generate theorem punct html, applying `emph` styling to it as well (even if
134
134
  # separated from main `emph` section of thm type + counter by theorem name; this is
135
- # default LaTeX behavior)
135
+ # default latex behavior)
136
136
  thm_punct_elem = etree.SubElement(elem, "span")
137
137
  if self.emph_html_class != "":
138
138
  thm_punct_elem.set("class", self.emph_html_class)
139
139
  thm_punct_elem.text = thm_punct
140
140
 
141
- # convert all this to HTML and insert into final output, replacing the original match
142
- # unescape HTML that `tostring()` escapes to allow HTML and previously-rendered
143
- # Markdown in thm heading
141
+ # convert all this to html and insert into final output, replacing the original match
142
+ # unescape html that `tostring()` escapes to allow html and previously-rendered
143
+ # markdown in thm heading
144
144
  new_text += text[prev_match_end:m.start()] + (
145
145
  etree.tostring(elem, encoding="unicode")
146
146
  .replace("&lt;", "<")
@@ -180,7 +180,7 @@ class ThmRefProcessor(Postprocessor):
180
180
  text_to_add = thm_ref_map[ref_name]
181
181
  else:
182
182
  text_to_add = m.group(0)
183
- # convert all this to HTML and insert into final output, replacing the original match
183
+ # convert all this to html and insert into final output, replacing the original match
184
184
  new_text += text[prev_match_end:m.start()] + text_to_add
185
185
  prev_match_end = m.end()
186
186
  new_text += text[prev_match_end:] # fill in remaining text after last regex match
@@ -70,7 +70,7 @@ class ThmsImplsBase:
70
70
  thm_heading_md += "[" + thm_name + "]"
71
71
  if thm_hidden_name is not None:
72
72
  thm_heading_md += "{" + thm_hidden_name + "}"
73
- # trailing newline to make sure text within the theorem heading (e.g. LaTeX curly brackets)
73
+ # trailing newline to make sure text within the theorem heading (e.g. latex curly brackets)
74
74
  # don't interfere with parsing and cause the regex pattern to stop matching prematurely
75
75
  return thm_heading_md + "\n"
76
76
 
@@ -79,14 +79,14 @@ DROPDOWN_TYPES = {
79
79
  ),
80
80
  "thms/success_6"
81
81
  ),
82
- # test HTML sanitization on theorem element `id`s
82
+ # test html sanitization on theorem element `id`s
83
83
  (
84
84
  ThmsExtension(
85
85
  div_config={"types": DIV_TYPES}, dropdown_config={"types": DROPDOWN_TYPES}
86
86
  ),
87
87
  "thms/success_7"
88
88
  ),
89
- # test that curly braces (e.g. from LaTeX) don't interfere with parsing
89
+ # test that curly braces (e.g. from latex) don't interfere with parsing
90
90
  (
91
91
  ThmsExtension(
92
92
  div_config={"types": DIV_TYPES}, dropdown_config={"types": DROPDOWN_TYPES}
@@ -20,7 +20,7 @@ from ...tests_utils import run_extension_test
20
20
  "thms/thm_heading/success_6"
21
21
  ),
22
22
 
23
- # test that curly braces (e.g. from LaTeX) don't interfere with parsing
23
+ # test that curly braces (e.g. from latex) don't interfere with parsing
24
24
  (ThmsExtension(), "thms/thm_heading/success_7"),
25
25
  (ThmsExtension(), "thms/thm_heading/success_8"),
26
26
  (ThmsExtension(), "thms/thm_heading/fail_1")
@@ -60,7 +60,7 @@ def test_test_method(filename_base, expected):
60
60
  ("thms_impls_base/gen_thm_heading_md_4"),
61
61
  ("thms_impls_base/gen_thm_heading_md_5"),
62
62
  ("thms_impls_base/gen_thm_heading_md_6"),
63
- # test that curly braces (e.g. from LaTeX) don't interfere with parsing
63
+ # test that curly braces (e.g. from latex) don't interfere with parsing
64
64
  ("thms_impls_base/gen_thm_heading_md_7"),
65
65
  # test that thm headings with no trailing newlines are not parsed
66
66
  ("thms_impls_base/gen_thm_heading_md_8")