mathpix-markdown-it 1.0.77 → 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 +667 -473
- package/README.md +6 -0
- package/es5/bundle.js +1 -1
- package/es5/index.js +1 -1
- package/lib/components/mathpix-markdown/index.js +5 -2
- package/lib/components/mathpix-markdown/index.js.map +1 -1
- package/lib/markdown/index.js +5 -2
- package/lib/markdown/index.js.map +1 -1
- package/lib/markdown/mathpix-markdown-plugins.js +5 -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/md-renderer-rules/render-lists.d.ts +1 -1
- package/lib/markdown/md-renderer-rules/render-lists.js +6 -0
- package/lib/markdown/md-renderer-rules/render-lists.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/mdPluginText.js +88 -0
- package/lib/markdown/mdPluginText.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 +6 -0
- package/lib/mathpix-markdown-model/index.js +5 -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/lib/styles/styles-lists.d.ts +1 -1
- package/lib/styles/styles-lists.js +1 -1
- package/lib/styles/styles-lists.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -675,6 +675,9 @@ The `MathpixMarkdown` React element accepts the following props:
|
|
|
675
675
|
| `htmlWrapper` | [THtmlWrapper](https://github.com/Mathpix/mathpix-markdown-it#thtmlwrapper);*`{}`* | Sets options for output full html page |
|
|
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
|
+
| `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 |
|
|
678
681
|
|
|
679
682
|
### optionsMathpixMarkdown
|
|
680
683
|
|
|
@@ -698,6 +701,9 @@ The `MathpixMarkdown` React element accepts the following props:
|
|
|
698
701
|
| | | Removes script tags and stuff. Removes broken and malicious html. Set to `false` to disable |
|
|
699
702
|
| `smiles` | [ISmilesOptions](https://github.com/Mathpix/mathpix-markdown-it#ismilesoptions);*`{}`* | Sets options to output chemistry equation |
|
|
700
703
|
| `nonumbers` | boolean;*`false`* | Sets options to prevent equations, tables, figure from being numbered |
|
|
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 |
|
|
701
707
|
|
|
702
708
|
### TOutputMath
|
|
703
709
|
|