mathpix-markdown-it 1.0.78 → 1.0.79
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.
- package/.idea/workspace.xml +633 -377
- package/README.md +4 -0
- package/es5/bundle.js +1 -1
- package/es5/index.js +1 -1
- package/lib/components/mathpix-markdown/index.js +4 -2
- package/lib/components/mathpix-markdown/index.js.map +1 -1
- package/lib/markdown/index.js +4 -2
- package/lib/markdown/index.js.map +1 -1
- package/lib/markdown/mathpix-markdown-plugins.js +4 -2
- package/lib/markdown/mathpix-markdown-plugins.js.map +1 -1
- package/lib/markdown/md-block-rule/begin-table.js +55 -10
- package/lib/markdown/md-block-rule/begin-table.js.map +1 -1
- package/lib/markdown/md-block-rule/begin-tabular/index.d.ts +1 -1
- package/lib/markdown/md-block-rule/begin-tabular/index.js +22 -5
- package/lib/markdown/md-block-rule/begin-tabular/index.js.map +1 -1
- package/lib/markdown/md-inline-rule/image.d.ts +11 -0
- package/lib/markdown/md-inline-rule/image.js +337 -0
- package/lib/markdown/md-inline-rule/image.js.map +1 -0
- package/lib/markdown/md-inline-rule/includegraphics.js +6 -0
- package/lib/markdown/md-inline-rule/includegraphics.js.map +1 -1
- package/lib/markdown/md-inline-rule/tabular.js +4 -0
- package/lib/markdown/md-inline-rule/tabular.js.map +1 -1
- package/lib/markdown/md-renderer-rules/index.d.ts +1 -1
- package/lib/markdown/md-renderer-rules/index.js +8 -5
- package/lib/markdown/md-renderer-rules/index.js.map +1 -1
- package/lib/markdown/mdPluginRaw.js +4 -0
- package/lib/markdown/mdPluginRaw.js.map +1 -1
- package/lib/markdown/mdPluginTableTabular.js +1 -1
- package/lib/markdown/mdPluginTableTabular.js.map +1 -1
- package/lib/markdown/rules.js +11 -1
- package/lib/markdown/rules.js.map +1 -1
- package/lib/mathpix-markdown-model/index.d.ts +4 -0
- package/lib/mathpix-markdown-model/index.js +4 -2
- package/lib/mathpix-markdown-model/index.js.map +1 -1
- package/lib/styles/index.js +1 -1
- package/lib/styles/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -676,6 +676,8 @@ The `MathpixMarkdown` React element accepts the following props:
|
|
|
676
676
|
| `accessibility` | [TAccessibility](https://github.com/Mathpix/mathpix-markdown-it#taccessibility);*`{}`* | Sets options to accessibility |
|
|
677
677
|
| `nonumbers` | boolean;*`false`* | Sets options to prevent equations, tables, figure from being numbered |
|
|
678
678
|
| `showPageBreaks` | boolean;*`false`* | Hidden tags will be shown in html like page break |
|
|
679
|
+
| `centerImages` | boolean;*`true`* | Center align images by default |
|
|
680
|
+
| `centerTables` | boolean;*`true`* | Center align tables by default |
|
|
679
681
|
|
|
680
682
|
### optionsMathpixMarkdown
|
|
681
683
|
|
|
@@ -700,6 +702,8 @@ The `MathpixMarkdown` React element accepts the following props:
|
|
|
700
702
|
| `smiles` | [ISmilesOptions](https://github.com/Mathpix/mathpix-markdown-it#ismilesoptions);*`{}`* | Sets options to output chemistry equation |
|
|
701
703
|
| `nonumbers` | boolean;*`false`* | Sets options to prevent equations, tables, figure from being numbered |
|
|
702
704
|
| `showPageBreaks` | boolean;*`false`* | Hidden tags will be shown in html like page break |
|
|
705
|
+
| `centerImages` | boolean;*`true`* | Center align images by default |
|
|
706
|
+
| `centerTables` | boolean;*`true`* | Center align tables by default |
|
|
703
707
|
|
|
704
708
|
### TOutputMath
|
|
705
709
|
|