comrak 0.0.3__cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl → 0.0.5__cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

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 comrak might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: comrak
3
- Version: 0.0.3
3
+ Version: 0.0.5
4
4
  Classifier: Intended Audience :: Developers
5
5
  Classifier: License :: OSI Approved :: MIT License
6
6
  Classifier: Programming Language :: Rust
@@ -14,6 +14,8 @@ Classifier: Programming Language :: Python :: 3.12
14
14
  Classifier: Programming Language :: Python :: 3.13
15
15
  Classifier: Programming Language :: Python :: 3.9
16
16
  Requires-Dist: maturin[patchelf]>=1.8.2 ; extra == 'dev'
17
+ Requires-Dist: pdm>=2.22.3 ; extra == 'dev'
18
+ Requires-Dist: pdm-bump>=0.9.10 ; extra == 'dev'
17
19
  Requires-Dist: pre-commit>=4.1.0 ; extra == 'dev'
18
20
  Requires-Dist: markdown>=3.7 ; extra == 'bench'
19
21
  Requires-Dist: markdown2>=2.5.3 ; extra == 'bench'
@@ -54,6 +56,22 @@ pip install comrak
54
56
 
55
57
  Fast Markdown to HTML parser in Rust, shipped for Python via PyO3.
56
58
 
59
+ ### Options
60
+
61
+ All options are exposed in a simple manner:
62
+
63
+ ```py
64
+ >>> import comrak
65
+ >>> opts = comrak.ExtensionOptions()
66
+ >>> comrak.render_markdown("foo :smile:", extension_options=opts)
67
+ '<p>foo :smile:</p>\n'
68
+ >>> opts.shortcodes = True
69
+ >>> comrak.render_markdown("foo :smile:", extension_options=opts)
70
+ '<p>foo 😄</p>\n'
71
+ ```
72
+
73
+ Refer to the [Comrak docs](https://docs.rs/comrak/latest/comrak/struct.Options.html) for all available options.
74
+
57
75
  ## Benchmarks
58
76
 
59
77
  Tested with small (8 lines) and medium (1200 lines) markdown strings
@@ -73,5 +91,5 @@ Maintained by [lmmx](https://github.com/lmmx). Contributions welcome!
73
91
 
74
92
  ## License
75
93
 
76
- This project is licensed under the [MIT License](https://opensource.org/licenses/MIT).
94
+ Licensed under the 2-Clause BSD License. See [LICENSE](https://github.com/lmmx/comrak/blob/master/LICENSE) for all the details.
77
95
 
@@ -0,0 +1,6 @@
1
+ comrak-0.0.5.dist-info/METADATA,sha256=c2CGCeCrIcJtIhY-xQfsiNgPHS-9AOpFlhNS_b9gAW0,3811
2
+ comrak-0.0.5.dist-info/WHEEL,sha256=61pcHrKpWOT0sRt8fg3XornlkuMjz_jRhPTikm8Rfmk,131
3
+ comrak-0.0.5.dist-info/licenses/LICENSE,sha256=Oph2Y_Nxhg7i9L9t1bW3LdtMQJNkIl5tDKLqmNnFnCs,8986
4
+ comrak/__init__.py,sha256=H-lprYD1Pf1TgIMrspnMxaKc6nzSR58I8zQEItFxzJg,107
5
+ comrak/comrak.cpython-312-aarch64-linux-gnu.so,sha256=iWJkc8G6CDNLsDLAwz4y0347ObsYVoMZnx5bVFDmcQY,3643824
6
+ comrak-0.0.5.dist-info/RECORD,,
@@ -1,6 +0,0 @@
1
- comrak-0.0.3.dist-info/METADATA,sha256=rdCFrPG5t_8GtMAGbsRmYh0lLdH7T-Xfsvk-ofkOQ2g,3238
2
- comrak-0.0.3.dist-info/WHEEL,sha256=61pcHrKpWOT0sRt8fg3XornlkuMjz_jRhPTikm8Rfmk,131
3
- comrak-0.0.3.dist-info/licenses/LICENSE,sha256=Oph2Y_Nxhg7i9L9t1bW3LdtMQJNkIl5tDKLqmNnFnCs,8986
4
- comrak/__init__.py,sha256=H-lprYD1Pf1TgIMrspnMxaKc6nzSR58I8zQEItFxzJg,107
5
- comrak/comrak.cpython-312-aarch64-linux-gnu.so,sha256=79Y7oAresAlulW9RWtAKOTPRZQb5cfm7ObewI1BrACk,1372096
6
- comrak-0.0.3.dist-info/RECORD,,
File without changes