comrak 0.0.3__cp310-cp310-win_amd64.whl → 0.0.4__cp310-cp310-win_amd64.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.

Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: comrak
3
- Version: 0.0.3
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=0CXb__ogf0TucWOnapjqD35t2ttrwD2qABHt6ZHvTjs,3739
2
+ comrak-0.0.4.dist-info/WHEEL,sha256=EFCgXGXxeCwiKFSIXs99j9wi5CzhWN9wgZDTgX5-fdU,96
3
+ comrak-0.0.4.dist-info/licenses/LICENSE,sha256=XGfBZ1-2WkGoY6o2ovG2JCdqkCoHmHkvlmEgerFGSvE,9189
4
+ comrak/__init__.py,sha256=H-lprYD1Pf1TgIMrspnMxaKc6nzSR58I8zQEItFxzJg,107
5
+ comrak/comrak.cp310-win_amd64.pyd,sha256=GW1bnTUob81f9hLLZK-fyDRtoHZjeB5eYuQY7_AvRAU,1996288
6
+ comrak-0.0.4.dist-info/RECORD,,
@@ -1,6 +0,0 @@
1
- comrak-0.0.3.dist-info/METADATA,sha256=24cIZMtclvZFyUKKXxdESKDFQuoRu84BfP3ZooPEYx0,3284
2
- comrak-0.0.3.dist-info/WHEEL,sha256=EFCgXGXxeCwiKFSIXs99j9wi5CzhWN9wgZDTgX5-fdU,96
3
- comrak-0.0.3.dist-info/licenses/LICENSE,sha256=XGfBZ1-2WkGoY6o2ovG2JCdqkCoHmHkvlmEgerFGSvE,9189
4
- comrak/__init__.py,sha256=H-lprYD1Pf1TgIMrspnMxaKc6nzSR58I8zQEItFxzJg,107
5
- comrak/comrak.cp310-win_amd64.pyd,sha256=rOb1bD47V741JvobUXqh108PnZiv-OCZlZ2xA93HE_g,1316864
6
- comrak-0.0.3.dist-info/RECORD,,
File without changes