comrak 0.0.3__cp312-cp312-win32.whl → 0.0.5__cp312-cp312-win32.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.
- comrak/comrak.cp312-win32.pyd +0 -0
- {comrak-0.0.3.dist-info → comrak-0.0.5.dist-info}/METADATA +20 -2
- comrak-0.0.5.dist-info/RECORD +6 -0
- comrak-0.0.3.dist-info/RECORD +0 -6
- {comrak-0.0.3.dist-info → comrak-0.0.5.dist-info}/WHEEL +0 -0
- {comrak-0.0.3.dist-info → comrak-0.0.5.dist-info}/licenses/LICENSE +0 -0
comrak/comrak.cp312-win32.pyd
CHANGED
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: comrak
|
|
3
|
-
Version: 0.0.
|
|
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
|
-
|
|
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=WQFCenutKKQlRnuQh4qlzHMIO4LtJ5NVTWTvc7gz-Zs,3873
|
|
2
|
+
comrak-0.0.5.dist-info/WHEEL,sha256=mKSvIR2c1kCpUi-F32oZPRi3BB-MEi-lwsYYpA42yCM,92
|
|
3
|
+
comrak-0.0.5.dist-info/licenses/LICENSE,sha256=XGfBZ1-2WkGoY6o2ovG2JCdqkCoHmHkvlmEgerFGSvE,9189
|
|
4
|
+
comrak/__init__.py,sha256=H-lprYD1Pf1TgIMrspnMxaKc6nzSR58I8zQEItFxzJg,107
|
|
5
|
+
comrak/comrak.cp312-win32.pyd,sha256=Au4mmlV5-mI60chm63eh8h8VqdKa8svmx_Trl-rapRg,1689088
|
|
6
|
+
comrak-0.0.5.dist-info/RECORD,,
|
comrak-0.0.3.dist-info/RECORD
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
comrak-0.0.3.dist-info/METADATA,sha256=24cIZMtclvZFyUKKXxdESKDFQuoRu84BfP3ZooPEYx0,3284
|
|
2
|
-
comrak-0.0.3.dist-info/WHEEL,sha256=mKSvIR2c1kCpUi-F32oZPRi3BB-MEi-lwsYYpA42yCM,92
|
|
3
|
-
comrak-0.0.3.dist-info/licenses/LICENSE,sha256=XGfBZ1-2WkGoY6o2ovG2JCdqkCoHmHkvlmEgerFGSvE,9189
|
|
4
|
-
comrak/__init__.py,sha256=H-lprYD1Pf1TgIMrspnMxaKc6nzSR58I8zQEItFxzJg,107
|
|
5
|
-
comrak/comrak.cp312-win32.pyd,sha256=IE7fIpJpEvgbSjWbUtZ8SneuUsJFzw-07VBNnaO-nOk,1158144
|
|
6
|
-
comrak-0.0.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|