comrak 0.0.3__cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl → 0.0.4__cp310-cp310-manylinux_2_5_i686.manylinux1_i686.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.cpython-310-i386-linux-gnu.so +0 -0
- {comrak-0.0.3.dist-info → comrak-0.0.4.dist-info}/METADATA +17 -1
- comrak-0.0.4.dist-info/RECORD +6 -0
- comrak-0.0.3.dist-info/RECORD +0 -6
- {comrak-0.0.3.dist-info → comrak-0.0.4.dist-info}/WHEEL +0 -0
- {comrak-0.0.3.dist-info → comrak-0.0.4.dist-info}/licenses/LICENSE +0 -0
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: comrak
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.4
|
|
4
4
|
Classifier: Intended Audience :: Developers
|
|
5
5
|
Classifier: License :: OSI Approved :: MIT License
|
|
6
6
|
Classifier: Programming Language :: Rust
|
|
@@ -54,6 +54,22 @@ pip install comrak
|
|
|
54
54
|
|
|
55
55
|
Fast Markdown to HTML parser in Rust, shipped for Python via PyO3.
|
|
56
56
|
|
|
57
|
+
### Options
|
|
58
|
+
|
|
59
|
+
All options are exposed in a simple manner:
|
|
60
|
+
|
|
61
|
+
```py
|
|
62
|
+
>>> import comrak
|
|
63
|
+
>>> opts = comrak.ExtensionOptions()
|
|
64
|
+
>>> comrak.render_markdown("foo :smile:", extension_options=opts)
|
|
65
|
+
'<p>foo :smile:</p>\n'
|
|
66
|
+
>>> opts.shortcodes = True
|
|
67
|
+
>>> comrak.render_markdown("foo :smile:", extension_options=opts)
|
|
68
|
+
'<p>foo 😄</p>\n'
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
Refer to the [Comrak docs](https://docs.rs/comrak/latest/comrak/struct.Options.html) for all available options.
|
|
72
|
+
|
|
57
73
|
## Benchmarks
|
|
58
74
|
|
|
59
75
|
Tested with small (8 lines) and medium (1200 lines) markdown strings
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
comrak-0.0.4.dist-info/METADATA,sha256=dPAFW_HFRKP7j5fTJqZK0cF9PVWp-Wo6pl0FnOrTNiU,3677
|
|
2
|
+
comrak-0.0.4.dist-info/WHEEL,sha256=K1bjXPMS8YPrfm-NniZ56pKt35BhcSuEwnrrKNTyUdw,121
|
|
3
|
+
comrak-0.0.4.dist-info/licenses/LICENSE,sha256=Oph2Y_Nxhg7i9L9t1bW3LdtMQJNkIl5tDKLqmNnFnCs,8986
|
|
4
|
+
comrak/__init__.py,sha256=H-lprYD1Pf1TgIMrspnMxaKc6nzSR58I8zQEItFxzJg,107
|
|
5
|
+
comrak/comrak.cpython-310-i386-linux-gnu.so,sha256=TIgFVFag-vxejBjsRgb4Pv-3vLJynX2giS4i4jt0DIg,2750736
|
|
6
|
+
comrak-0.0.4.dist-info/RECORD,,
|
comrak-0.0.3.dist-info/RECORD
DELETED
|
@@ -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=K1bjXPMS8YPrfm-NniZ56pKt35BhcSuEwnrrKNTyUdw,121
|
|
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-310-i386-linux-gnu.so,sha256=hIS1ZSSp8gWagEG-7HHC8M1kft_vBK3Apx_d_iiqYI4,1167232
|
|
6
|
-
comrak-0.0.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|