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.
Files changed (37) hide show
  1. package/.idea/workspace.xml +633 -377
  2. package/README.md +4 -0
  3. package/es5/bundle.js +1 -1
  4. package/es5/index.js +1 -1
  5. package/lib/components/mathpix-markdown/index.js +4 -2
  6. package/lib/components/mathpix-markdown/index.js.map +1 -1
  7. package/lib/markdown/index.js +4 -2
  8. package/lib/markdown/index.js.map +1 -1
  9. package/lib/markdown/mathpix-markdown-plugins.js +4 -2
  10. package/lib/markdown/mathpix-markdown-plugins.js.map +1 -1
  11. package/lib/markdown/md-block-rule/begin-table.js +55 -10
  12. package/lib/markdown/md-block-rule/begin-table.js.map +1 -1
  13. package/lib/markdown/md-block-rule/begin-tabular/index.d.ts +1 -1
  14. package/lib/markdown/md-block-rule/begin-tabular/index.js +22 -5
  15. package/lib/markdown/md-block-rule/begin-tabular/index.js.map +1 -1
  16. package/lib/markdown/md-inline-rule/image.d.ts +11 -0
  17. package/lib/markdown/md-inline-rule/image.js +337 -0
  18. package/lib/markdown/md-inline-rule/image.js.map +1 -0
  19. package/lib/markdown/md-inline-rule/includegraphics.js +6 -0
  20. package/lib/markdown/md-inline-rule/includegraphics.js.map +1 -1
  21. package/lib/markdown/md-inline-rule/tabular.js +4 -0
  22. package/lib/markdown/md-inline-rule/tabular.js.map +1 -1
  23. package/lib/markdown/md-renderer-rules/index.d.ts +1 -1
  24. package/lib/markdown/md-renderer-rules/index.js +8 -5
  25. package/lib/markdown/md-renderer-rules/index.js.map +1 -1
  26. package/lib/markdown/mdPluginRaw.js +4 -0
  27. package/lib/markdown/mdPluginRaw.js.map +1 -1
  28. package/lib/markdown/mdPluginTableTabular.js +1 -1
  29. package/lib/markdown/mdPluginTableTabular.js.map +1 -1
  30. package/lib/markdown/rules.js +11 -1
  31. package/lib/markdown/rules.js.map +1 -1
  32. package/lib/mathpix-markdown-model/index.d.ts +4 -0
  33. package/lib/mathpix-markdown-model/index.js +4 -2
  34. package/lib/mathpix-markdown-model/index.js.map +1 -1
  35. package/lib/styles/index.js +1 -1
  36. package/lib/styles/index.js.map +1 -1
  37. 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