pyhtml2md 1.5.4__tar.gz → 1.6.1__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.

Potentially problematic release.


This version of pyhtml2md might be problematic. Click here for more details.

Files changed (390) hide show
  1. pyhtml2md-1.6.1/.clang-format +192 -0
  2. pyhtml2md-1.6.1/.github/CODEOWNERS +2 -0
  3. pyhtml2md-1.6.1/.github/ISSUE_TEMPLATE/bug_report.md +28 -0
  4. pyhtml2md-1.6.1/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
  5. pyhtml2md-1.6.1/.github/ISSUE_TEMPLATE/question.md +10 -0
  6. pyhtml2md-1.6.1/.github/dependabot.yml +18 -0
  7. pyhtml2md-1.6.1/.github/workflows/build.yml +29 -0
  8. pyhtml2md-1.6.1/.github/workflows/release.yml +82 -0
  9. pyhtml2md-1.6.1/.github/workflows/website.yml +31 -0
  10. pyhtml2md-1.6.1/.github/workflows/wheels.yml +71 -0
  11. pyhtml2md-1.6.1/.gitignore +13 -0
  12. pyhtml2md-1.6.1/.gitmodules +6 -0
  13. pyhtml2md-1.6.1/CHANGELOG.md +133 -0
  14. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/CMakeLists.txt +4 -1
  15. pyhtml2md-1.6.1/CONTRIBUTING.md +3 -0
  16. {pyhtml2md-1.5.4/pyhtml2md.egg-info → pyhtml2md-1.6.1}/PKG-INFO +18 -6
  17. pyhtml2md-1.6.1/SECURITY.md +13 -0
  18. pyhtml2md-1.6.1/cli/main.cpp +178 -0
  19. pyhtml2md-1.6.1/cmake/Doc.cmake +13 -0
  20. pyhtml2md-1.6.1/cmake/Packaging.cmake +85 -0
  21. pyhtml2md-1.6.1/docs/Doxyfile +48 -0
  22. pyhtml2md-1.6.1/docs/doxygen-awesome-css/.gitignore +3 -0
  23. pyhtml2md-1.6.1/docs/doxygen-awesome-css/LICENSE +21 -0
  24. pyhtml2md-1.6.1/docs/doxygen-awesome-css/doxygen-awesome-darkmode-toggle.js +157 -0
  25. pyhtml2md-1.6.1/docs/doxygen-awesome-css/doxygen-awesome-fragment-copy-button.js +85 -0
  26. pyhtml2md-1.6.1/docs/doxygen-awesome-css/doxygen-awesome-interactive-toc.js +81 -0
  27. pyhtml2md-1.6.1/docs/doxygen-awesome-css/doxygen-awesome-paragraph-link.js +51 -0
  28. pyhtml2md-1.6.1/docs/doxygen-awesome-css/doxygen-awesome-sidebar-only-darkmode-toggle.css +40 -0
  29. pyhtml2md-1.6.1/docs/doxygen-awesome-css/doxygen-awesome-sidebar-only.css +115 -0
  30. pyhtml2md-1.6.1/docs/doxygen-awesome-css/doxygen-awesome.css +2406 -0
  31. pyhtml2md-1.6.1/docs/doxygen-awesome-css/doxygen-custom/custom.css +101 -0
  32. pyhtml2md-1.6.1/docs/doxygen-awesome-css/doxygen-custom/header.html +100 -0
  33. pyhtml2md-1.6.1/docs/index.md +98 -0
  34. pyhtml2md-1.6.1/html2md.pc.in +12 -0
  35. pyhtml2md-1.6.1/html2mdConfig.cmake.in +7 -0
  36. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/include/html2md.h +17 -3
  37. pyhtml2md-1.6.1/js/bindings.cpp +21 -0
  38. pyhtml2md-1.6.1/pyproject.toml +81 -0
  39. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/bindings.cpp +9 -1
  40. pyhtml2md-1.6.1/python/pybind11/.appveyor.yml +35 -0
  41. pyhtml2md-1.6.1/python/pybind11/.clang-format +38 -0
  42. pyhtml2md-1.6.1/python/pybind11/.clang-tidy +77 -0
  43. pyhtml2md-1.6.1/python/pybind11/.cmake-format.yaml +73 -0
  44. pyhtml2md-1.6.1/python/pybind11/.codespell-ignore-lines +24 -0
  45. pyhtml2md-1.6.1/python/pybind11/.gitattributes +1 -0
  46. pyhtml2md-1.6.1/python/pybind11/.github/CODEOWNERS +9 -0
  47. pyhtml2md-1.6.1/python/pybind11/.github/CONTRIBUTING.md +388 -0
  48. pyhtml2md-1.6.1/python/pybind11/.github/ISSUE_TEMPLATE/bug-report.yml +61 -0
  49. pyhtml2md-1.6.1/python/pybind11/.github/ISSUE_TEMPLATE/config.yml +8 -0
  50. pyhtml2md-1.6.1/python/pybind11/.github/dependabot.yml +15 -0
  51. pyhtml2md-1.6.1/python/pybind11/.github/labeler.yml +13 -0
  52. pyhtml2md-1.6.1/python/pybind11/.github/labeler_merged.yml +8 -0
  53. pyhtml2md-1.6.1/python/pybind11/.github/matchers/pylint.json +32 -0
  54. pyhtml2md-1.6.1/python/pybind11/.github/pull_request_template.md +19 -0
  55. pyhtml2md-1.6.1/python/pybind11/.github/workflows/ci.yml +1233 -0
  56. pyhtml2md-1.6.1/python/pybind11/.github/workflows/configure.yml +92 -0
  57. pyhtml2md-1.6.1/python/pybind11/.github/workflows/format.yml +60 -0
  58. pyhtml2md-1.6.1/python/pybind11/.github/workflows/labeler.yml +25 -0
  59. pyhtml2md-1.6.1/python/pybind11/.github/workflows/pip.yml +113 -0
  60. pyhtml2md-1.6.1/python/pybind11/.github/workflows/upstream.yml +116 -0
  61. pyhtml2md-1.6.1/python/pybind11/.gitignore +46 -0
  62. pyhtml2md-1.6.1/python/pybind11/.pre-commit-config.yaml +156 -0
  63. pyhtml2md-1.6.1/python/pybind11/.readthedocs.yml +20 -0
  64. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/CMakeLists.txt +2 -0
  65. pyhtml2md-1.6.1/python/pybind11/MANIFEST.in +6 -0
  66. pyhtml2md-1.6.1/python/pybind11/README.rst +181 -0
  67. pyhtml2md-1.6.1/python/pybind11/SECURITY.md +13 -0
  68. pyhtml2md-1.6.1/python/pybind11/docs/Doxyfile +21 -0
  69. pyhtml2md-1.6.1/python/pybind11/docs/_static/css/custom.css +3 -0
  70. pyhtml2md-1.6.1/python/pybind11/docs/advanced/cast/chrono.rst +81 -0
  71. pyhtml2md-1.6.1/python/pybind11/docs/advanced/cast/custom.rst +93 -0
  72. pyhtml2md-1.6.1/python/pybind11/docs/advanced/cast/eigen.rst +310 -0
  73. pyhtml2md-1.6.1/python/pybind11/docs/advanced/cast/functional.rst +109 -0
  74. pyhtml2md-1.6.1/python/pybind11/docs/advanced/cast/index.rst +43 -0
  75. pyhtml2md-1.6.1/python/pybind11/docs/advanced/cast/overview.rst +170 -0
  76. pyhtml2md-1.6.1/python/pybind11/docs/advanced/cast/stl.rst +249 -0
  77. pyhtml2md-1.6.1/python/pybind11/docs/advanced/cast/strings.rst +296 -0
  78. pyhtml2md-1.6.1/python/pybind11/docs/advanced/classes.rst +1335 -0
  79. pyhtml2md-1.6.1/python/pybind11/docs/advanced/embedding.rst +262 -0
  80. pyhtml2md-1.6.1/python/pybind11/docs/advanced/exceptions.rst +401 -0
  81. pyhtml2md-1.6.1/python/pybind11/docs/advanced/functions.rst +614 -0
  82. pyhtml2md-1.6.1/python/pybind11/docs/advanced/misc.rst +429 -0
  83. pyhtml2md-1.6.1/python/pybind11/docs/advanced/pycpp/index.rst +13 -0
  84. pyhtml2md-1.6.1/python/pybind11/docs/advanced/pycpp/numpy.rst +453 -0
  85. pyhtml2md-1.6.1/python/pybind11/docs/advanced/pycpp/object.rst +286 -0
  86. pyhtml2md-1.6.1/python/pybind11/docs/advanced/pycpp/utilities.rst +155 -0
  87. pyhtml2md-1.6.1/python/pybind11/docs/advanced/smart_ptrs.rst +174 -0
  88. pyhtml2md-1.6.1/python/pybind11/docs/basics.rst +307 -0
  89. pyhtml2md-1.6.1/python/pybind11/docs/benchmark.py +89 -0
  90. pyhtml2md-1.6.1/python/pybind11/docs/benchmark.rst +95 -0
  91. pyhtml2md-1.6.1/python/pybind11/docs/changelog.rst +3006 -0
  92. pyhtml2md-1.6.1/python/pybind11/docs/classes.rst +555 -0
  93. pyhtml2md-1.6.1/python/pybind11/docs/cmake/index.rst +8 -0
  94. pyhtml2md-1.6.1/python/pybind11/docs/compiling.rst +726 -0
  95. pyhtml2md-1.6.1/python/pybind11/docs/conf.py +369 -0
  96. pyhtml2md-1.6.1/python/pybind11/docs/faq.rst +308 -0
  97. pyhtml2md-1.6.1/python/pybind11/docs/index.rst +48 -0
  98. pyhtml2md-1.6.1/python/pybind11/docs/installing.rst +105 -0
  99. pyhtml2md-1.6.1/python/pybind11/docs/limitations.rst +72 -0
  100. pyhtml2md-1.6.1/python/pybind11/docs/pybind11-logo.png +0 -0
  101. pyhtml2md-1.6.1/python/pybind11/docs/pybind11_vs_boost_python1.png +0 -0
  102. pyhtml2md-1.6.1/python/pybind11/docs/pybind11_vs_boost_python1.svg +427 -0
  103. pyhtml2md-1.6.1/python/pybind11/docs/pybind11_vs_boost_python2.png +0 -0
  104. pyhtml2md-1.6.1/python/pybind11/docs/pybind11_vs_boost_python2.svg +427 -0
  105. pyhtml2md-1.6.1/python/pybind11/docs/reference.rst +130 -0
  106. pyhtml2md-1.6.1/python/pybind11/docs/release.rst +143 -0
  107. pyhtml2md-1.6.1/python/pybind11/docs/requirements.in +6 -0
  108. pyhtml2md-1.6.1/python/pybind11/docs/requirements.txt +275 -0
  109. pyhtml2md-1.6.1/python/pybind11/docs/upgrade.rst +594 -0
  110. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/include/pybind11/cast.h +13 -2
  111. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/include/pybind11/detail/class.h +68 -62
  112. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/include/pybind11/detail/common.h +7 -5
  113. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/include/pybind11/detail/internals.h +180 -94
  114. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/include/pybind11/detail/type_caster_base.h +32 -36
  115. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/include/pybind11/embed.h +0 -3
  116. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/include/pybind11/gil.h +10 -38
  117. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/include/pybind11/numpy.h +3 -1
  118. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/include/pybind11/pybind11.h +106 -43
  119. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/include/pybind11/pytypes.h +31 -1
  120. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/include/pybind11/stl/filesystem.h +1 -2
  121. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/include/pybind11/typing.h +32 -0
  122. pyhtml2md-1.6.1/python/pybind11/noxfile.py +107 -0
  123. pyhtml2md-1.6.1/python/pybind11/pybind11/__init__.py +19 -0
  124. pyhtml2md-1.6.1/python/pybind11/pybind11/__main__.py +63 -0
  125. pyhtml2md-1.6.1/python/pybind11/pybind11/_version.py +12 -0
  126. pyhtml2md-1.6.1/python/pybind11/pybind11/commands.py +39 -0
  127. pyhtml2md-1.6.1/python/pybind11/pybind11/py.typed +0 -0
  128. pyhtml2md-1.6.1/python/pybind11/pybind11/setup_helpers.py +500 -0
  129. pyhtml2md-1.6.1/python/pybind11/pyproject.toml +87 -0
  130. pyhtml2md-1.6.1/python/pybind11/setup.cfg +42 -0
  131. pyhtml2md-1.6.1/python/pybind11/setup.py +149 -0
  132. pyhtml2md-1.6.1/python/pybind11/tests/CMakeLists.txt +589 -0
  133. pyhtml2md-1.6.1/python/pybind11/tests/conftest.py +224 -0
  134. pyhtml2md-1.6.1/python/pybind11/tests/constructor_stats.h +322 -0
  135. pyhtml2md-1.6.1/python/pybind11/tests/cross_module_gil_utils.cpp +111 -0
  136. pyhtml2md-1.6.1/python/pybind11/tests/cross_module_interleaved_error_already_set.cpp +54 -0
  137. pyhtml2md-1.6.1/python/pybind11/tests/eigen_tensor_avoid_stl_array.cpp +16 -0
  138. pyhtml2md-1.6.1/python/pybind11/tests/env.py +31 -0
  139. pyhtml2md-1.6.1/python/pybind11/tests/extra_python_package/pytest.ini +0 -0
  140. pyhtml2md-1.6.1/python/pybind11/tests/extra_python_package/test_files.py +296 -0
  141. pyhtml2md-1.6.1/python/pybind11/tests/extra_setuptools/pytest.ini +0 -0
  142. pyhtml2md-1.6.1/python/pybind11/tests/extra_setuptools/test_setuphelper.py +153 -0
  143. pyhtml2md-1.6.1/python/pybind11/tests/local_bindings.h +92 -0
  144. pyhtml2md-1.6.1/python/pybind11/tests/object.h +205 -0
  145. pyhtml2md-1.6.1/python/pybind11/tests/pybind11_cross_module_tests.cpp +149 -0
  146. pyhtml2md-1.6.1/python/pybind11/tests/pybind11_tests.cpp +131 -0
  147. pyhtml2md-1.6.1/python/pybind11/tests/pybind11_tests.h +98 -0
  148. pyhtml2md-1.6.1/python/pybind11/tests/pytest.ini +23 -0
  149. pyhtml2md-1.6.1/python/pybind11/tests/requirements.txt +13 -0
  150. pyhtml2md-1.6.1/python/pybind11/tests/test_async.cpp +25 -0
  151. pyhtml2md-1.6.1/python/pybind11/tests/test_async.py +26 -0
  152. pyhtml2md-1.6.1/python/pybind11/tests/test_buffers.cpp +259 -0
  153. pyhtml2md-1.6.1/python/pybind11/tests/test_buffers.py +230 -0
  154. pyhtml2md-1.6.1/python/pybind11/tests/test_builtin_casters.cpp +387 -0
  155. pyhtml2md-1.6.1/python/pybind11/tests/test_builtin_casters.py +530 -0
  156. pyhtml2md-1.6.1/python/pybind11/tests/test_call_policies.cpp +113 -0
  157. pyhtml2md-1.6.1/python/pybind11/tests/test_call_policies.py +249 -0
  158. pyhtml2md-1.6.1/python/pybind11/tests/test_callbacks.cpp +280 -0
  159. pyhtml2md-1.6.1/python/pybind11/tests/test_callbacks.py +227 -0
  160. pyhtml2md-1.6.1/python/pybind11/tests/test_chrono.cpp +81 -0
  161. pyhtml2md-1.6.1/python/pybind11/tests/test_chrono.py +207 -0
  162. pyhtml2md-1.6.1/python/pybind11/tests/test_class.cpp +656 -0
  163. pyhtml2md-1.6.1/python/pybind11/tests/test_class.py +503 -0
  164. pyhtml2md-1.6.1/python/pybind11/tests/test_cmake_build/CMakeLists.txt +80 -0
  165. pyhtml2md-1.6.1/python/pybind11/tests/test_cmake_build/embed.cpp +23 -0
  166. pyhtml2md-1.6.1/python/pybind11/tests/test_cmake_build/installed_embed/CMakeLists.txt +28 -0
  167. pyhtml2md-1.6.1/python/pybind11/tests/test_cmake_build/installed_function/CMakeLists.txt +39 -0
  168. pyhtml2md-1.6.1/python/pybind11/tests/test_cmake_build/installed_target/CMakeLists.txt +46 -0
  169. pyhtml2md-1.6.1/python/pybind11/tests/test_cmake_build/main.cpp +6 -0
  170. pyhtml2md-1.6.1/python/pybind11/tests/test_cmake_build/subdirectory_embed/CMakeLists.txt +47 -0
  171. pyhtml2md-1.6.1/python/pybind11/tests/test_cmake_build/subdirectory_function/CMakeLists.txt +41 -0
  172. pyhtml2md-1.6.1/python/pybind11/tests/test_cmake_build/subdirectory_target/CMakeLists.txt +47 -0
  173. pyhtml2md-1.6.1/python/pybind11/tests/test_cmake_build/test.py +10 -0
  174. pyhtml2md-1.6.1/python/pybind11/tests/test_const_name.cpp +55 -0
  175. pyhtml2md-1.6.1/python/pybind11/tests/test_const_name.py +31 -0
  176. pyhtml2md-1.6.1/python/pybind11/tests/test_constants_and_functions.cpp +158 -0
  177. pyhtml2md-1.6.1/python/pybind11/tests/test_constants_and_functions.py +58 -0
  178. pyhtml2md-1.6.1/python/pybind11/tests/test_copy_move.cpp +544 -0
  179. pyhtml2md-1.6.1/python/pybind11/tests/test_copy_move.py +140 -0
  180. pyhtml2md-1.6.1/python/pybind11/tests/test_custom_type_casters.cpp +217 -0
  181. pyhtml2md-1.6.1/python/pybind11/tests/test_custom_type_casters.py +124 -0
  182. pyhtml2md-1.6.1/python/pybind11/tests/test_custom_type_setup.cpp +41 -0
  183. pyhtml2md-1.6.1/python/pybind11/tests/test_custom_type_setup.py +50 -0
  184. pyhtml2md-1.6.1/python/pybind11/tests/test_docstring_options.cpp +129 -0
  185. pyhtml2md-1.6.1/python/pybind11/tests/test_docstring_options.py +66 -0
  186. pyhtml2md-1.6.1/python/pybind11/tests/test_eigen_matrix.cpp +443 -0
  187. pyhtml2md-1.6.1/python/pybind11/tests/test_eigen_matrix.py +816 -0
  188. pyhtml2md-1.6.1/python/pybind11/tests/test_eigen_tensor.cpp +18 -0
  189. pyhtml2md-1.6.1/python/pybind11/tests/test_eigen_tensor.inl +332 -0
  190. pyhtml2md-1.6.1/python/pybind11/tests/test_eigen_tensor.py +290 -0
  191. pyhtml2md-1.6.1/python/pybind11/tests/test_embed/CMakeLists.txt +54 -0
  192. pyhtml2md-1.6.1/python/pybind11/tests/test_embed/catch.cpp +43 -0
  193. pyhtml2md-1.6.1/python/pybind11/tests/test_embed/external_module.cpp +20 -0
  194. pyhtml2md-1.6.1/python/pybind11/tests/test_embed/test_interpreter.cpp +488 -0
  195. pyhtml2md-1.6.1/python/pybind11/tests/test_embed/test_interpreter.py +16 -0
  196. pyhtml2md-1.6.1/python/pybind11/tests/test_embed/test_trampoline.py +18 -0
  197. pyhtml2md-1.6.1/python/pybind11/tests/test_enum.cpp +133 -0
  198. pyhtml2md-1.6.1/python/pybind11/tests/test_enum.py +270 -0
  199. pyhtml2md-1.6.1/python/pybind11/tests/test_eval.cpp +118 -0
  200. pyhtml2md-1.6.1/python/pybind11/tests/test_eval.py +52 -0
  201. pyhtml2md-1.6.1/python/pybind11/tests/test_eval_call.py +5 -0
  202. pyhtml2md-1.6.1/python/pybind11/tests/test_exceptions.cpp +388 -0
  203. pyhtml2md-1.6.1/python/pybind11/tests/test_exceptions.h +13 -0
  204. pyhtml2md-1.6.1/python/pybind11/tests/test_exceptions.py +434 -0
  205. pyhtml2md-1.6.1/python/pybind11/tests/test_factory_constructors.cpp +430 -0
  206. pyhtml2md-1.6.1/python/pybind11/tests/test_factory_constructors.py +518 -0
  207. pyhtml2md-1.6.1/python/pybind11/tests/test_gil_scoped.cpp +144 -0
  208. pyhtml2md-1.6.1/python/pybind11/tests/test_gil_scoped.py +244 -0
  209. pyhtml2md-1.6.1/python/pybind11/tests/test_iostream.cpp +126 -0
  210. pyhtml2md-1.6.1/python/pybind11/tests/test_iostream.py +293 -0
  211. pyhtml2md-1.6.1/python/pybind11/tests/test_kwargs_and_defaults.cpp +325 -0
  212. pyhtml2md-1.6.1/python/pybind11/tests/test_kwargs_and_defaults.py +428 -0
  213. pyhtml2md-1.6.1/python/pybind11/tests/test_local_bindings.cpp +106 -0
  214. pyhtml2md-1.6.1/python/pybind11/tests/test_local_bindings.py +259 -0
  215. pyhtml2md-1.6.1/python/pybind11/tests/test_methods_and_attributes.cpp +492 -0
  216. pyhtml2md-1.6.1/python/pybind11/tests/test_methods_and_attributes.py +539 -0
  217. pyhtml2md-1.6.1/python/pybind11/tests/test_modules.cpp +125 -0
  218. pyhtml2md-1.6.1/python/pybind11/tests/test_modules.py +118 -0
  219. pyhtml2md-1.6.1/python/pybind11/tests/test_multiple_inheritance.cpp +341 -0
  220. pyhtml2md-1.6.1/python/pybind11/tests/test_multiple_inheritance.py +495 -0
  221. pyhtml2md-1.6.1/python/pybind11/tests/test_numpy_array.cpp +547 -0
  222. pyhtml2md-1.6.1/python/pybind11/tests/test_numpy_array.py +672 -0
  223. pyhtml2md-1.6.1/python/pybind11/tests/test_numpy_dtypes.cpp +639 -0
  224. pyhtml2md-1.6.1/python/pybind11/tests/test_numpy_dtypes.py +448 -0
  225. pyhtml2md-1.6.1/python/pybind11/tests/test_numpy_vectorize.cpp +107 -0
  226. pyhtml2md-1.6.1/python/pybind11/tests/test_numpy_vectorize.py +268 -0
  227. pyhtml2md-1.6.1/python/pybind11/tests/test_opaque_types.cpp +77 -0
  228. pyhtml2md-1.6.1/python/pybind11/tests/test_opaque_types.py +60 -0
  229. pyhtml2md-1.6.1/python/pybind11/tests/test_operator_overloading.cpp +281 -0
  230. pyhtml2md-1.6.1/python/pybind11/tests/test_operator_overloading.py +153 -0
  231. pyhtml2md-1.6.1/python/pybind11/tests/test_pickling.cpp +194 -0
  232. pyhtml2md-1.6.1/python/pybind11/tests/test_pickling.py +95 -0
  233. pyhtml2md-1.6.1/python/pybind11/tests/test_python_multiple_inheritance.cpp +45 -0
  234. pyhtml2md-1.6.1/python/pybind11/tests/test_python_multiple_inheritance.py +36 -0
  235. pyhtml2md-1.6.1/python/pybind11/tests/test_pytypes.cpp +870 -0
  236. pyhtml2md-1.6.1/python/pybind11/tests/test_pytypes.py +984 -0
  237. pyhtml2md-1.6.1/python/pybind11/tests/test_sequences_and_iterators.cpp +600 -0
  238. pyhtml2md-1.6.1/python/pybind11/tests/test_sequences_and_iterators.py +267 -0
  239. pyhtml2md-1.6.1/python/pybind11/tests/test_smart_ptr.cpp +473 -0
  240. pyhtml2md-1.6.1/python/pybind11/tests/test_smart_ptr.py +317 -0
  241. pyhtml2md-1.6.1/python/pybind11/tests/test_stl.cpp +549 -0
  242. pyhtml2md-1.6.1/python/pybind11/tests/test_stl.py +383 -0
  243. pyhtml2md-1.6.1/python/pybind11/tests/test_stl_binders.cpp +275 -0
  244. pyhtml2md-1.6.1/python/pybind11/tests/test_stl_binders.py +395 -0
  245. pyhtml2md-1.6.1/python/pybind11/tests/test_tagbased_polymorphic.cpp +147 -0
  246. pyhtml2md-1.6.1/python/pybind11/tests/test_tagbased_polymorphic.py +30 -0
  247. pyhtml2md-1.6.1/python/pybind11/tests/test_thread.cpp +66 -0
  248. pyhtml2md-1.6.1/python/pybind11/tests/test_thread.py +44 -0
  249. pyhtml2md-1.6.1/python/pybind11/tests/test_type_caster_pyobject_ptr.cpp +167 -0
  250. pyhtml2md-1.6.1/python/pybind11/tests/test_type_caster_pyobject_ptr.py +122 -0
  251. pyhtml2md-1.6.1/python/pybind11/tests/test_union.cpp +22 -0
  252. pyhtml2md-1.6.1/python/pybind11/tests/test_union.py +10 -0
  253. pyhtml2md-1.6.1/python/pybind11/tests/test_unnamed_namespace_a.cpp +38 -0
  254. pyhtml2md-1.6.1/python/pybind11/tests/test_unnamed_namespace_a.py +36 -0
  255. pyhtml2md-1.6.1/python/pybind11/tests/test_unnamed_namespace_b.cpp +13 -0
  256. pyhtml2md-1.6.1/python/pybind11/tests/test_unnamed_namespace_b.py +7 -0
  257. pyhtml2md-1.6.1/python/pybind11/tests/test_vector_unique_ptr_member.cpp +54 -0
  258. pyhtml2md-1.6.1/python/pybind11/tests/test_vector_unique_ptr_member.py +16 -0
  259. pyhtml2md-1.6.1/python/pybind11/tests/test_virtual_functions.cpp +592 -0
  260. pyhtml2md-1.6.1/python/pybind11/tests/test_virtual_functions.py +460 -0
  261. pyhtml2md-1.6.1/python/pybind11/tests/valgrind-numpy-scipy.supp +140 -0
  262. pyhtml2md-1.6.1/python/pybind11/tests/valgrind-python.supp +117 -0
  263. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/tools/FindPythonLibsNew.cmake +2 -2
  264. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/tools/codespell_ignore_lines_from_errors.py +3 -2
  265. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/tools/libsize.py +2 -0
  266. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/tools/pybind11Common.cmake +11 -1
  267. pyhtml2md-1.6.1/python/pybind11/tools/pybind11GuessPythonExtSuffix.cmake +86 -0
  268. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/tools/pybind11NewTools.cmake +90 -60
  269. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/tools/pybind11Tools.cmake +1 -1
  270. pyhtml2md-1.6.1/python/pybind11/tools/test-pybind11GuessPythonExtSuffix.cmake +161 -0
  271. pyhtml2md-1.6.1/scripts/clang-format.sh +3 -0
  272. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/src/html2md.cpp +11 -14
  273. pyhtml2md-1.6.1/tests/CMakeLists.txt +44 -0
  274. pyhtml2md-1.6.1/tests/README.md +9 -0
  275. pyhtml2md-1.6.1/tests/blockquote.md +52 -0
  276. pyhtml2md-1.6.1/tests/breaks.md +18 -0
  277. pyhtml2md-1.6.1/tests/code.md +51 -0
  278. pyhtml2md-1.6.1/tests/comment.html +12 -0
  279. pyhtml2md-1.6.1/tests/escaping.md +15 -0
  280. pyhtml2md-1.6.1/tests/formating.md +28 -0
  281. pyhtml2md-1.6.1/tests/links.md +45 -0
  282. pyhtml2md-1.6.1/tests/lists.md +13 -0
  283. pyhtml2md-1.6.1/tests/main.cpp +240 -0
  284. pyhtml2md-1.6.1/tests/md4c/.gitignore +79 -0
  285. pyhtml2md-1.6.1/tests/md4c/.travis.yml +36 -0
  286. pyhtml2md-1.6.1/tests/md4c/CHANGELOG.md +442 -0
  287. pyhtml2md-1.6.1/tests/md4c/CMakeLists.txt +59 -0
  288. pyhtml2md-1.6.1/tests/md4c/LICENSE.md +22 -0
  289. pyhtml2md-1.6.1/tests/md4c/README.md +301 -0
  290. pyhtml2md-1.6.1/tests/md4c/appveyor.yml +29 -0
  291. pyhtml2md-1.6.1/tests/md4c/codecov.yml +4 -0
  292. pyhtml2md-1.6.1/tests/md4c/md2html/CMakeLists.txt +22 -0
  293. pyhtml2md-1.6.1/tests/md4c/md2html/cmdline.c +205 -0
  294. pyhtml2md-1.6.1/tests/md4c/md2html/cmdline.h +153 -0
  295. pyhtml2md-1.6.1/tests/md4c/md2html/md2html.1 +113 -0
  296. pyhtml2md-1.6.1/tests/md4c/md2html/md2html.c +417 -0
  297. pyhtml2md-1.6.1/tests/md4c/scripts/build_folding_map.py +120 -0
  298. pyhtml2md-1.6.1/tests/md4c/scripts/build_punct_map.py +66 -0
  299. pyhtml2md-1.6.1/tests/md4c/scripts/build_symbol_map.py +66 -0
  300. pyhtml2md-1.6.1/tests/md4c/scripts/build_whitespace_map.py +66 -0
  301. pyhtml2md-1.6.1/tests/md4c/scripts/coverity.sh +70 -0
  302. pyhtml2md-1.6.1/tests/md4c/scripts/run-tests.sh +91 -0
  303. pyhtml2md-1.6.1/tests/md4c/scripts/unicode/CaseFolding.txt +1584 -0
  304. pyhtml2md-1.6.1/tests/md4c/scripts/unicode/DerivedGeneralCategory.txt +4100 -0
  305. pyhtml2md-1.6.1/tests/md4c/src/CMakeLists.txt +56 -0
  306. pyhtml2md-1.6.1/tests/md4c/src/entity.c +2190 -0
  307. pyhtml2md-1.6.1/tests/md4c/src/entity.h +42 -0
  308. pyhtml2md-1.6.1/tests/md4c/src/md4c-html.c +590 -0
  309. pyhtml2md-1.6.1/tests/md4c/src/md4c-html.h +71 -0
  310. pyhtml2md-1.6.1/tests/md4c/src/md4c-html.pc.in +13 -0
  311. pyhtml2md-1.6.1/tests/md4c/src/md4c.c +7240 -0
  312. pyhtml2md-1.6.1/tests/md4c/src/md4c.h +430 -0
  313. pyhtml2md-1.6.1/tests/md4c/src/md4c.pc.in +13 -0
  314. pyhtml2md-1.6.1/tests/md4c/test/LICENSE +64 -0
  315. pyhtml2md-1.6.1/tests/md4c/test/cmark.py +40 -0
  316. pyhtml2md-1.6.1/tests/md4c/test/coverage.txt +522 -0
  317. pyhtml2md-1.6.1/tests/md4c/test/fuzz-input/commonmark.md +40 -0
  318. pyhtml2md-1.6.1/tests/md4c/test/fuzz-input/gfm.md +10 -0
  319. pyhtml2md-1.6.1/tests/md4c/test/fuzz-input/latex-math.md +1 -0
  320. pyhtml2md-1.6.1/tests/md4c/test/fuzz-input/wiki.md +1 -0
  321. pyhtml2md-1.6.1/tests/md4c/test/fuzzers/fuzz-mdhtml.c +35 -0
  322. pyhtml2md-1.6.1/tests/md4c/test/heading-auto-identifier.txt +163 -0
  323. pyhtml2md-1.6.1/tests/md4c/test/latex-math.txt +39 -0
  324. pyhtml2md-1.6.1/tests/md4c/test/normalize.py +194 -0
  325. pyhtml2md-1.6.1/tests/md4c/test/pathological_auto_ident_tests.py +63 -0
  326. pyhtml2md-1.6.1/tests/md4c/test/pathological_tests.py +128 -0
  327. pyhtml2md-1.6.1/tests/md4c/test/permissive-email-autolinks.txt +50 -0
  328. pyhtml2md-1.6.1/tests/md4c/test/permissive-url-autolinks.txt +99 -0
  329. pyhtml2md-1.6.1/tests/md4c/test/permissive-www-autolinks.txt +107 -0
  330. pyhtml2md-1.6.1/tests/md4c/test/spec.txt +9756 -0
  331. pyhtml2md-1.6.1/tests/md4c/test/spec_tests.py +144 -0
  332. pyhtml2md-1.6.1/tests/md4c/test/strikethrough.txt +75 -0
  333. pyhtml2md-1.6.1/tests/md4c/test/tables.txt +357 -0
  334. pyhtml2md-1.6.1/tests/md4c/test/tasklists.txt +117 -0
  335. pyhtml2md-1.6.1/tests/md4c/test/toc-mark.txt +85 -0
  336. pyhtml2md-1.6.1/tests/md4c/test/toc.txt +104 -0
  337. pyhtml2md-1.6.1/tests/md4c/test/underline.txt +39 -0
  338. pyhtml2md-1.6.1/tests/md4c/test/wiki-links.txt +232 -0
  339. pyhtml2md-1.6.1/tests/tables.md +30 -0
  340. pyhtml2md-1.6.1/tests/test_advanced.py +125 -0
  341. pyhtml2md-1.5.4/PKG-INFO +0 -123
  342. pyhtml2md-1.5.4/pyhtml2md.egg-info/SOURCES.txt +0 -72
  343. pyhtml2md-1.5.4/pyhtml2md.egg-info/dependency_links.txt +0 -1
  344. pyhtml2md-1.5.4/pyhtml2md.egg-info/not-zip-safe +0 -1
  345. pyhtml2md-1.5.4/pyhtml2md.egg-info/requires.txt +0 -3
  346. pyhtml2md-1.5.4/pyhtml2md.egg-info/top_level.txt +0 -1
  347. pyhtml2md-1.5.4/pyproject.toml +0 -39
  348. pyhtml2md-1.5.4/setup.cfg +0 -4
  349. pyhtml2md-1.5.4/setup.py +0 -145
  350. pyhtml2md-1.5.4/tests/test_advanced.py +0 -11
  351. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/COPYING +0 -0
  352. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/MANIFEST.in +0 -0
  353. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/README.md +0 -0
  354. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/include/table.h +0 -0
  355. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/README.md +0 -0
  356. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/LICENSE +0 -0
  357. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/include/pybind11/attr.h +0 -0
  358. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/include/pybind11/buffer_info.h +0 -0
  359. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/include/pybind11/chrono.h +0 -0
  360. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/include/pybind11/common.h +0 -0
  361. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/include/pybind11/complex.h +0 -0
  362. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/include/pybind11/detail/descr.h +0 -0
  363. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/include/pybind11/detail/init.h +0 -0
  364. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/include/pybind11/detail/typeid.h +0 -0
  365. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/include/pybind11/eigen/common.h +0 -0
  366. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/include/pybind11/eigen/matrix.h +0 -0
  367. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/include/pybind11/eigen/tensor.h +0 -0
  368. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/include/pybind11/eigen.h +0 -0
  369. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/include/pybind11/eval.h +0 -0
  370. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/include/pybind11/functional.h +0 -0
  371. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/include/pybind11/gil_safe_call_once.h +0 -0
  372. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/include/pybind11/iostream.h +0 -0
  373. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/include/pybind11/operators.h +0 -0
  374. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/include/pybind11/options.h +0 -0
  375. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/include/pybind11/stl.h +0 -0
  376. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/include/pybind11/stl_bind.h +0 -0
  377. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/include/pybind11/type_caster_pyobject_ptr.h +0 -0
  378. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/tools/FindCatch.cmake +0 -0
  379. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/tools/FindEigen3.cmake +0 -0
  380. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/tools/JoinPaths.cmake +0 -0
  381. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/tools/check-style.sh +0 -0
  382. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/tools/cmake_uninstall.cmake.in +0 -0
  383. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/tools/make_changelog.py +0 -0
  384. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/tools/pybind11.pc.in +0 -0
  385. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/tools/pybind11Config.cmake.in +0 -0
  386. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/tools/pyproject.toml +0 -0
  387. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/tools/setup_global.py.in +0 -0
  388. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/python/pybind11/tools/setup_main.py.in +0 -0
  389. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/src/table.cpp +0 -0
  390. {pyhtml2md-1.5.4 → pyhtml2md-1.6.1}/tests/test_basic.py +0 -0
@@ -0,0 +1,192 @@
1
+ ---
2
+ Language: Cpp
3
+ # BasedOnStyle: LLVM
4
+ AccessModifierOffset: -2
5
+ AlignAfterOpenBracket: Align
6
+ AlignArrayOfStructures: None
7
+ AlignConsecutiveMacros: None
8
+ AlignConsecutiveAssignments: None
9
+ AlignConsecutiveBitFields: None
10
+ AlignConsecutiveDeclarations: None
11
+ AlignEscapedNewlines: Right
12
+ AlignOperands: Align
13
+ AlignTrailingComments: true
14
+ AllowAllArgumentsOnNextLine: true
15
+ AllowAllParametersOfDeclarationOnNextLine: true
16
+ AllowShortEnumsOnASingleLine: true
17
+ AllowShortBlocksOnASingleLine: Never
18
+ AllowShortCaseLabelsOnASingleLine: false
19
+ AllowShortFunctionsOnASingleLine: All
20
+ AllowShortLambdasOnASingleLine: All
21
+ AllowShortIfStatementsOnASingleLine: Never
22
+ AllowShortLoopsOnASingleLine: false
23
+ AlwaysBreakAfterDefinitionReturnType: None
24
+ AlwaysBreakAfterReturnType: None
25
+ AlwaysBreakBeforeMultilineStrings: false
26
+ AlwaysBreakTemplateDeclarations: MultiLine
27
+ AttributeMacros:
28
+ - __capability
29
+ BinPackArguments: true
30
+ BinPackParameters: true
31
+ BraceWrapping:
32
+ AfterCaseLabel: false
33
+ AfterClass: false
34
+ AfterControlStatement: Never
35
+ AfterEnum: false
36
+ AfterFunction: false
37
+ AfterNamespace: false
38
+ AfterObjCDeclaration: false
39
+ AfterStruct: false
40
+ AfterUnion: false
41
+ AfterExternBlock: false
42
+ BeforeCatch: false
43
+ BeforeElse: false
44
+ BeforeLambdaBody: false
45
+ BeforeWhile: false
46
+ IndentBraces: false
47
+ SplitEmptyFunction: true
48
+ SplitEmptyRecord: true
49
+ SplitEmptyNamespace: true
50
+ BreakBeforeBinaryOperators: None
51
+ BreakBeforeConceptDeclarations: true
52
+ BreakBeforeBraces: Attach
53
+ BreakBeforeInheritanceComma: false
54
+ BreakInheritanceList: BeforeColon
55
+ BreakBeforeTernaryOperators: true
56
+ BreakConstructorInitializersBeforeComma: false
57
+ BreakConstructorInitializers: BeforeColon
58
+ BreakAfterJavaFieldAnnotations: false
59
+ BreakStringLiterals: true
60
+ ColumnLimit: 80
61
+ CommentPragmas: '^ IWYU pragma:'
62
+ QualifierAlignment: Leave
63
+ CompactNamespaces: false
64
+ ConstructorInitializerIndentWidth: 4
65
+ ContinuationIndentWidth: 4
66
+ Cpp11BracedListStyle: true
67
+ DeriveLineEnding: true
68
+ DerivePointerAlignment: false
69
+ DisableFormat: false
70
+ EmptyLineAfterAccessModifier: Never
71
+ EmptyLineBeforeAccessModifier: LogicalBlock
72
+ ExperimentalAutoDetectBinPacking: false
73
+ PackConstructorInitializers: BinPack
74
+ BasedOnStyle: ''
75
+ ConstructorInitializerAllOnOneLineOrOnePerLine: false
76
+ AllowAllConstructorInitializersOnNextLine: true
77
+ FixNamespaceComments: true
78
+ ForEachMacros:
79
+ - foreach
80
+ - Q_FOREACH
81
+ - BOOST_FOREACH
82
+ IfMacros:
83
+ - KJ_IF_MAYBE
84
+ IncludeBlocks: Preserve
85
+ IncludeCategories:
86
+ - Regex: '^"(llvm|llvm-c|clang|clang-c)/'
87
+ Priority: 2
88
+ SortPriority: 0
89
+ CaseSensitive: false
90
+ - Regex: '^(<|"(gtest|gmock|isl|json)/)'
91
+ Priority: 3
92
+ SortPriority: 0
93
+ CaseSensitive: false
94
+ - Regex: '.*'
95
+ Priority: 1
96
+ SortPriority: 0
97
+ CaseSensitive: false
98
+ IncludeIsMainRegex: '(Test)?$'
99
+ IncludeIsMainSourceRegex: ''
100
+ IndentAccessModifiers: false
101
+ IndentCaseLabels: false
102
+ IndentCaseBlocks: false
103
+ IndentGotoLabels: true
104
+ IndentPPDirectives: None
105
+ IndentExternBlock: AfterExternBlock
106
+ IndentRequires: false
107
+ IndentWidth: 2
108
+ IndentWrappedFunctionNames: false
109
+ InsertTrailingCommas: None
110
+ JavaScriptQuotes: Leave
111
+ JavaScriptWrapImports: true
112
+ KeepEmptyLinesAtTheStartOfBlocks: true
113
+ LambdaBodyIndentation: Signature
114
+ MacroBlockBegin: ''
115
+ MacroBlockEnd: ''
116
+ MaxEmptyLinesToKeep: 1
117
+ NamespaceIndentation: None
118
+ ObjCBinPackProtocolList: Auto
119
+ ObjCBlockIndentWidth: 2
120
+ ObjCBreakBeforeNestedBlockParam: true
121
+ ObjCSpaceAfterProperty: false
122
+ ObjCSpaceBeforeProtocolList: true
123
+ PenaltyBreakAssignment: 2
124
+ PenaltyBreakBeforeFirstCallParameter: 19
125
+ PenaltyBreakComment: 300
126
+ PenaltyBreakFirstLessLess: 120
127
+ PenaltyBreakOpenParenthesis: 0
128
+ PenaltyBreakString: 1000
129
+ PenaltyBreakTemplateDeclaration: 10
130
+ PenaltyExcessCharacter: 1000000
131
+ PenaltyReturnTypeOnItsOwnLine: 60
132
+ PenaltyIndentedWhitespace: 0
133
+ PointerAlignment: Right
134
+ PPIndentWidth: -1
135
+ ReferenceAlignment: Pointer
136
+ ReflowComments: true
137
+ RemoveBracesLLVM: false
138
+ SeparateDefinitionBlocks: Leave
139
+ ShortNamespaceLines: 1
140
+ SortIncludes: CaseSensitive
141
+ SortJavaStaticImport: Before
142
+ SortUsingDeclarations: true
143
+ SpaceAfterCStyleCast: false
144
+ SpaceAfterLogicalNot: false
145
+ SpaceAfterTemplateKeyword: true
146
+ SpaceBeforeAssignmentOperators: true
147
+ SpaceBeforeCaseColon: false
148
+ SpaceBeforeCpp11BracedList: false
149
+ SpaceBeforeCtorInitializerColon: true
150
+ SpaceBeforeInheritanceColon: true
151
+ SpaceBeforeParens: ControlStatements
152
+ SpaceBeforeParensOptions:
153
+ AfterControlStatements: true
154
+ AfterForeachMacros: true
155
+ AfterFunctionDefinitionName: false
156
+ AfterFunctionDeclarationName: false
157
+ AfterIfMacros: true
158
+ AfterOverloadedOperator: false
159
+ BeforeNonEmptyParentheses: false
160
+ SpaceAroundPointerQualifiers: Default
161
+ SpaceBeforeRangeBasedForLoopColon: true
162
+ SpaceInEmptyBlock: false
163
+ SpaceInEmptyParentheses: false
164
+ SpacesBeforeTrailingComments: 1
165
+ SpacesInAngles: Never
166
+ SpacesInConditionalStatement: false
167
+ SpacesInContainerLiterals: true
168
+ SpacesInCStyleCastParentheses: false
169
+ SpacesInLineCommentPrefix:
170
+ Minimum: 1
171
+ Maximum: -1
172
+ SpacesInParentheses: false
173
+ SpacesInSquareBrackets: false
174
+ SpaceBeforeSquareBrackets: false
175
+ BitFieldColonSpacing: Both
176
+ Standard: Latest
177
+ StatementAttributeLikeMacros:
178
+ - Q_EMIT
179
+ StatementMacros:
180
+ - Q_UNUSED
181
+ - QT_REQUIRE_VERSION
182
+ TabWidth: 8
183
+ UseCRLF: false
184
+ UseTab: Never
185
+ WhitespaceSensitiveMacros:
186
+ - STRINGIZE
187
+ - PP_STRINGIZE
188
+ - BOOST_PP_STRINGIZE
189
+ - NS_SWIFT_NAME
190
+ - CF_SWIFT_NAME
191
+ ...
192
+
@@ -0,0 +1,2 @@
1
+ # Generated by CODEOWNERS.com
2
+
@@ -0,0 +1,28 @@
1
+ ---
2
+ name: Bug report
3
+ about: Create a report to help us improve
4
+ title: ''
5
+ labels: ''
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ **Describe the bug**
11
+ A clear and concise description of what the bug is.
12
+
13
+ **To Reproduce**
14
+ Steps to reproduce the behavior:
15
+ 1. Run '....'
16
+ 2. See error
17
+
18
+ **Expected behavior**
19
+ A clear and concise description of what you expected to happen.
20
+
21
+ **Output of `dmesg | tail -n2`**
22
+ (for Linux and maybe mac)
23
+
24
+ **Desktop (please complete the following information):**
25
+ - OS: [e.g. Ubuntu 22.04]
26
+
27
+ **Additional context**
28
+ Add any other context about the problem here.
@@ -0,0 +1,20 @@
1
+ ---
2
+ name: Feature request
3
+ about: Suggest an idea for this project
4
+ title: ''
5
+ labels: ''
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ **Is your feature request related to a problem? Please describe.**
11
+ A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12
+
13
+ **Describe the solution you'd like**
14
+ A clear and concise description of what you want to happen.
15
+
16
+ **Describe alternatives you've considered**
17
+ A clear and concise description of any alternative solutions or features you've considered.
18
+
19
+ **Additional context**
20
+ Add any other context or screenshots about the feature request here.
@@ -0,0 +1,10 @@
1
+ ---
2
+ name: Question
3
+ about: Ask a question
4
+ title: ''
5
+ labels: question
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ For example 'How customize lists'
@@ -0,0 +1,18 @@
1
+ # To get started with Dependabot version updates, you'll need to specify which
2
+ # package ecosystems to update and where the package manifests are located.
3
+ # Please see the documentation for all configuration options:
4
+ # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5
+
6
+ version: 2
7
+ updates:
8
+ # Maintain dependencies for GitHub Actions
9
+ - package-ecosystem: "github-actions"
10
+ directory: "/"
11
+ schedule:
12
+ interval: "weekly"
13
+
14
+ # Keep submodules up to date
15
+ - package-ecosystem: "gitsubmodule"
16
+ directory: "/"
17
+ schedule:
18
+ interval: "weekly"
@@ -0,0 +1,29 @@
1
+ name: 'Build'
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - '*'
7
+ pull_request:
8
+ workflow_dispatch:
9
+
10
+ jobs:
11
+ build:
12
+ runs-on: ${{ matrix.os }}
13
+ strategy:
14
+ fail-fast: false
15
+ matrix:
16
+ os: [ubuntu-latest, macos-latest, windows-latest]
17
+ steps:
18
+ - name: Checkout
19
+ uses: actions/checkout@v4
20
+
21
+ #
22
+ # Build using CMake
23
+ #
24
+ - name: Build using CMake
25
+ run: |
26
+ mkdir build && cd build
27
+ cmake ..
28
+ cmake --build . -j8
29
+
@@ -0,0 +1,82 @@
1
+ name: Create release and update assets
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - 'v*'
7
+ workflow_dispatch:
8
+
9
+ jobs:
10
+ build:
11
+ name: Build and upload release assetes
12
+ runs-on: ${{ matrix.os }}
13
+ strategy:
14
+ fail-fast: false
15
+ matrix:
16
+ include:
17
+ - os: ubuntu-20.04
18
+ files: |
19
+ build/packages/html2md*.deb
20
+ build/packages/html2md*.tar.gz
21
+ - os: ubuntu-22.04
22
+ files: |
23
+ build/packages/html2md*.deb
24
+ - os: windows-latest
25
+ files: |
26
+ build/packages/html2md*.zip
27
+ steps:
28
+ - name: Checkout repo
29
+ uses: actions/checkout@v4
30
+
31
+ - name: Build and package
32
+ run: |
33
+ mkdir build && cd build
34
+ cmake -DBUILD_TEST=OFF -DBUILD_DOC=OFF -DCMAKE_BUILD_TYPE=Release ..
35
+ cmake --build . --config Release
36
+ cmake --build . --config Release --target package
37
+ shell: bash
38
+
39
+ - name: Upload package
40
+ uses: actions/upload-artifact@v4
41
+ with:
42
+ path: ${{ matrix.files }}
43
+ name: ${{ matrix.os }}
44
+
45
+ publish:
46
+ name: Create release and upload files
47
+ runs-on: ubuntu-22.04
48
+ needs: build
49
+ permissions:
50
+ contents: write
51
+ strategy:
52
+ fail-fast: false
53
+ steps:
54
+ - uses: actions/checkout@v4
55
+ with:
56
+ fetch-depth: 0
57
+
58
+ - name: Download release asstets
59
+ uses: actions/download-artifact@v4
60
+ with:
61
+ path: packages
62
+
63
+ - name: Find changes and release assets
64
+ id: files
65
+ run: |
66
+ PREVIOS="$(git tag --sort=creatordate | tail -n 2 | head -n1)"
67
+ wget https://raw.githubusercontent.com/tim-gromeyer/html2md/$PREVIOS/CHANGELOG.md -O OLD.md
68
+ echo "CHANGES<<EOF" >> $GITHUB_ENV
69
+ echo "$(grep -Fvxf OLD.md CHANGELOG.md | tail -n +2)" >> $GITHUB_ENV
70
+ echo "EOF" >> $GITHUB_ENV
71
+
72
+ echo "FILES<<EOF" >> $GITHUB_ENV
73
+ find packages/ -name "*" -type f >> $GITHUB_ENV
74
+ echo "EOF" >> $GITHUB_ENV
75
+
76
+ - name: Release
77
+ uses: softprops/action-gh-release@v2
78
+ if: startsWith(github.ref, 'refs/tags/')
79
+ with:
80
+ generate_release_notes: true
81
+ body: ${{ env.CHANGES }}
82
+ files: ${{ env.FILES }}
@@ -0,0 +1,31 @@
1
+ name: Update website
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - 'v*'
7
+ workflow_dispatch:
8
+
9
+ jobs:
10
+ website:
11
+ name: Build website and deploy to gh pages
12
+ runs-on: ubuntu-22.04
13
+
14
+ steps:
15
+ - uses: actions/checkout@v4
16
+
17
+ - name: Add version to Doxyfile
18
+ run: |
19
+ echo "PROJECT_NUMBER = ${{ github.ref_name }}" >> docs/Doxyfile
20
+
21
+ - name: Run Doxygen
22
+ uses: mattnotmitt/doxygen-action@edge
23
+ with:
24
+ doxyfile-path: 'docs/Doxyfile'
25
+
26
+ - name: Deploy
27
+ uses: peaceiris/actions-gh-pages@v4
28
+ with:
29
+ github_token: ${{ secrets.GITHUB_TOKEN }}
30
+ publish_dir: ./doc
31
+
@@ -0,0 +1,71 @@
1
+ name: Build Python wheels
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - 'v*'
7
+ workflow_dispatch:
8
+
9
+ jobs:
10
+ build_sdist:
11
+ name: Build SDist
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+ with:
16
+ submodules: true
17
+
18
+ - name: Build SDist
19
+ run: pipx run build --sdist
20
+
21
+ - name: Check metadata
22
+ run: pipx run twine check dist/*
23
+
24
+ - uses: actions/upload-artifact@v4
25
+ with:
26
+ path: dist/*.tar.gz
27
+
28
+
29
+ build_wheels:
30
+ name: Wheels on ${{ matrix.os }}
31
+ runs-on: ${{ matrix.os }}
32
+ strategy:
33
+ fail-fast: false
34
+ matrix:
35
+ os: [ubuntu-latest, windows-latest, macos-latest]
36
+
37
+ steps:
38
+ - uses: actions/checkout@v4
39
+ with:
40
+ submodules: true
41
+
42
+ - uses: pypa/cibuildwheel@v2.19.1
43
+ env:
44
+ CIBW_ARCHS_MACOS: auto universal2
45
+
46
+ - name: Verify clean directory
47
+ run: git diff --exit-code
48
+ shell: bash
49
+
50
+ - name: Upload wheels
51
+ uses: actions/upload-artifact@v4
52
+ with:
53
+ path: wheelhouse/*.whl
54
+ name: ${{ matrix.os }}
55
+
56
+
57
+ upload_all:
58
+ name: Upload wheels
59
+ needs: [build_wheels, build_sdist]
60
+ runs-on: ubuntu-latest
61
+
62
+ steps:
63
+ - uses: actions/download-artifact@v4
64
+ with:
65
+ name: artifact
66
+ path: dist
67
+
68
+ - uses: pypa/gh-action-pypi-publish@v1.9.0
69
+ with:
70
+ password: ${{ secrets.PYPI_API_TOKEN }}
71
+
@@ -0,0 +1,13 @@
1
+ *.user*
2
+ build-linux/
3
+ build-windows/
4
+ build-wasm/
5
+ doc/
6
+ tests/error.log
7
+ conan/
8
+ build/
9
+ dist/
10
+ pyhtml2md.egg-info/
11
+ *.whl
12
+ wheelhouse/
13
+ tests/__pycache__/
@@ -0,0 +1,6 @@
1
+ [submodule "python/pybind11"]
2
+ path = python/pybind11
3
+ url = https://github.com/pybind/pybind11
4
+ [submodule "tests/md4c"]
5
+ path = tests/md4c
6
+ url = https://github.com/tim-gromeyer/MarkdownEdit_md4c
@@ -0,0 +1,133 @@
1
+ # Change log
2
+
3
+ [TOC]
4
+
5
+ ## 1.6.0
6
+
7
+ - Add option for soft line break
8
+ - Add option for hard line break
9
+ - Fix handling of self-closing tags
10
+ - Updated python package building (see #100)
11
+
12
+ ## 1.5.4
13
+
14
+ - Fix crash (see #67)
15
+ - Add support for newer Python versions
16
+
17
+ ## 1.5.3
18
+
19
+ - Make `blockquote` work correctly!
20
+ - Additional note for 1.5.2: Add Python 12 packages
21
+
22
+ ## 1.5.2
23
+
24
+ - FIXED: Add `titile` support for images
25
+ - FIXED: Code got formatted (Spaces removed)
26
+ - Fixed some formatting issues (like a space infront of `!`)
27
+ - FIXED: Escaping of `*`, \`, and `\`
28
+ - Reduced memory usage
29
+ - Improved performance
30
+
31
+ ## v1.5.1
32
+
33
+ - **~40% Performance Improvement**
34
+
35
+ ## v1.5.0
36
+
37
+ - **Added a option to Format Markdown Tables**
38
+ - More tests
39
+ - Reworked cli program for better usability
40
+
41
+ ## v1.4.4
42
+
43
+ - New release with Python 3.11 support/packages
44
+ - Updated internal dependencies
45
+
46
+ ## v1.4.3
47
+
48
+ - Improved performance
49
+ - Updated 3rdparty tools (for creating python packages and creating releases)
50
+ - Fix code example
51
+
52
+ ## v1.4.2
53
+
54
+ - Fixed windows release build are linked against debug libraries
55
+
56
+ ## v1.4.1
57
+
58
+ - **Fixed <u>ALL</u> memory leaks**
59
+ - Fixed bugs(`html2md::Options::includeTitle` not working)
60
+ - Added more tests
61
+ - Documentation: Updated Doxygen to v1.9.6
62
+ - Include Windows to releases
63
+
64
+ ## v1.4.0
65
+
66
+ - Improved CMake support massively!
67
+ - Fixed tests
68
+ - Added support for CMake 3.8
69
+ - Fix Python source package
70
+
71
+ ## v1.3.0
72
+
73
+ **BREAKING CHANGES!**
74
+
75
+ - Renamed `Converter::Convert2Md` -> `Converter::convert()`
76
+ - Renamed `options` -> `Options`
77
+
78
+ ## v1.2.2
79
+
80
+ - Fixed bug when calling `Convert2Md()` multiple times
81
+ - Corrected serval typos. Ignore the rest of the change log.
82
+
83
+ ## v1.2.1
84
+
85
+ - Added missing python dependency
86
+
87
+ ## v1.2.0
88
+
89
+ - **Added python bindings**
90
+ - Added new option: `includeTable`.
91
+
92
+ ## v1.1.5
93
+
94
+ - Added more command line options to the executable
95
+
96
+ ## v1.1.4
97
+
98
+ - Releases now include deb files
99
+
100
+ ## v1.1.3
101
+
102
+ The user can now test his own Markdown files. Simply specify to the test program as argument.
103
+
104
+ ## v1.1.2
105
+
106
+ - Add changes for v1.1.1
107
+ - Create releases when a new tag is added(automatically)
108
+
109
+ ## v.1.1.1
110
+
111
+ - Fix windows build(by replacing get)
112
+
113
+ ## v1.1.0
114
+
115
+ - Reworked command line program
116
+ - Renamed `AppendToMd` to `appendToMd`
117
+ - Renamed `AppendBlank` to `appendBlank`
118
+ - **Require *c++11* instead of *c++17*.** Only the tests require *c++17* now.
119
+ - Added more tests
120
+ - Fix typos in comments
121
+ - Improved documentation
122
+
123
+ ## v1.0.1
124
+
125
+ - Fixed several bugs
126
+ - Added more tests: make test
127
+ - Updated documentation: make doc
128
+ - Added packaging: make package
129
+
130
+ ## v1.0.0
131
+
132
+ Initial release. All basics work but `blockquote` needs a rework.
133
+
@@ -1,5 +1,5 @@
1
1
  cmake_minimum_required(VERSION 3.8)
2
- project(html2md VERSION 1.5.4 LANGUAGES CXX)
2
+ project(html2md VERSION 1.6.1 LANGUAGES CXX)
3
3
 
4
4
  set(PROJECT_HOMEPAGE_URL "https://tim-gromeyer.github.io/html2md/")
5
5
  set(html2md_HOMEPAGE_URL "${PROJECT_HOMEPAGE_URL}")
@@ -57,6 +57,9 @@ if(PYTHON_BINDINGS)
57
57
  )
58
58
  target_compile_definitions(pyhtml2md PRIVATE PYTHON_BINDINGS)
59
59
  target_include_directories(pyhtml2md PRIVATE include)
60
+ if (SKBUILD)
61
+ install(TARGETS pyhtml2md DESTINATION "${SKBUILD_PLATLIB_DIR}")
62
+ endif()
60
63
  return()
61
64
  endif()
62
65
 
@@ -0,0 +1,3 @@
1
+ # Contributing
2
+
3
+ Just fork the repo, edit it and then create a pull request!
@@ -1,15 +1,27 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyhtml2md
3
- Version: 1.5.4
3
+ Version: 1.6.1
4
4
  Summary: Transform your HTML into clean, easy-to-read markdown with pyhtml2md.
5
- Home-page: https://github.com/tim-gromeyer/html2md
6
- Author: Tim Gromeyer
7
- Author-email: sakul8826@gmail.com
5
+ Keywords: html,markdown,html-to-markdown,python3,cpp17,cpp-library,html2markdown,html2md
6
+ Author-Email: Tim Gromeyer <sakul8826@gmail.com>
7
+ License: MIT
8
+ Classifier: Intended Audience :: Developers
9
+ Classifier: License :: OSI Approved :: MIT License
10
+ Classifier: Programming Language :: C++
11
+ Classifier: Programming Language :: Python
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3 :: Only
14
+ Classifier: Programming Language :: Python :: 3.7
15
+ Classifier: Programming Language :: Python :: 3.8
16
+ Classifier: Programming Language :: Python :: 3.9
17
+ Classifier: Topic :: File Formats
18
+ Classifier: Topic :: Text Processing :: Markup :: Markdown
19
+ Classifier: Topic :: Text Processing :: Markup :: HTML
20
+ Project-URL: Repository, https://github.com/tim-gromeyer/html2md
8
21
  Requires-Python: >=3.7
9
- Description-Content-Type: text/markdown
10
- License-File: COPYING
11
22
  Provides-Extra: test
12
23
  Requires-Dist: pytest>=6.0; extra == "test"
24
+ Description-Content-Type: text/markdown
13
25
 
14
26
  # pyhtml2md
15
27