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.
Files changed (45) hide show
  1. package/.idea/workspace.xml +667 -473
  2. package/README.md +6 -0
  3. package/es5/bundle.js +1 -1
  4. package/es5/index.js +1 -1
  5. package/lib/components/mathpix-markdown/index.js +5 -2
  6. package/lib/components/mathpix-markdown/index.js.map +1 -1
  7. package/lib/markdown/index.js +5 -2
  8. package/lib/markdown/index.js.map +1 -1
  9. package/lib/markdown/mathpix-markdown-plugins.js +5 -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/md-renderer-rules/render-lists.d.ts +1 -1
  27. package/lib/markdown/md-renderer-rules/render-lists.js +6 -0
  28. package/lib/markdown/md-renderer-rules/render-lists.js.map +1 -1
  29. package/lib/markdown/mdPluginRaw.js +4 -0
  30. package/lib/markdown/mdPluginRaw.js.map +1 -1
  31. package/lib/markdown/mdPluginTableTabular.js +1 -1
  32. package/lib/markdown/mdPluginTableTabular.js.map +1 -1
  33. package/lib/markdown/mdPluginText.js +88 -0
  34. package/lib/markdown/mdPluginText.js.map +1 -1
  35. package/lib/markdown/rules.js +11 -1
  36. package/lib/markdown/rules.js.map +1 -1
  37. package/lib/mathpix-markdown-model/index.d.ts +6 -0
  38. package/lib/mathpix-markdown-model/index.js +5 -2
  39. package/lib/mathpix-markdown-model/index.js.map +1 -1
  40. package/lib/styles/index.js +1 -1
  41. package/lib/styles/index.js.map +1 -1
  42. package/lib/styles/styles-lists.d.ts +1 -1
  43. package/lib/styles/styles-lists.js +1 -1
  44. package/lib/styles/styles-lists.js.map +1 -1
  45. 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