mathpix-markdown-it 1.0.79 → 1.0.80

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/README.md CHANGED
@@ -48,6 +48,16 @@ Mathpix Markdown addresses these limitations by adding support for the following
48
48
  OC(=O)c1cc(Cl)cs1
49
49
  ```
50
50
  ~~~
51
+ - images (Markdown). Parse and render additional parameters such as width, height, alignment:
52
+ ~~~
53
+ ![foo](foo.png){ width=50% }
54
+ ![foo](foo.png){ width="36px" }
55
+ ![image](<src> "title"){width="20px",height="20px"}
56
+ ![image](<src> "title"){width="20px",height="20px",right}
57
+ ![image](<src> "title"){width="20px",height="20px", align="left"}
58
+ ~~~
59
+ ![Image properties](assets/mmd-image-properties.webp)
60
+
51
61
 
52
62
  # What is mathpix-markdown-it?
53
63
 
@@ -678,6 +688,8 @@ The `MathpixMarkdown` React element accepts the following props:
678
688
  | `showPageBreaks` | boolean;*`false`* | Hidden tags will be shown in html like page break |
679
689
  | `centerImages` | boolean;*`true`* | Center align images by default |
680
690
  | `centerTables` | boolean;*`true`* | Center align tables by default |
691
+ | `validateLink` | function;*`null`* | The function `(url: string) => void` to override md link validator |
692
+ | `enableCodeBlockRuleForLatexCommands`| boolean;*`false`* | By default, if latex commands are indented (4 spaces / 1 tab) they do not become `Code Blocks`. |
681
693
 
682
694
  ### optionsMathpixMarkdown
683
695
 
@@ -704,6 +716,8 @@ The `MathpixMarkdown` React element accepts the following props:
704
716
  | `showPageBreaks` | boolean;*`false`* | Hidden tags will be shown in html like page break |
705
717
  | `centerImages` | boolean;*`true`* | Center align images by default |
706
718
  | `centerTables` | boolean;*`true`* | Center align tables by default |
719
+ | `validateLink` | function;*`null`* | The function `(url: string) => void` to override md link validator |
720
+ | `enableCodeBlockRuleForLatexCommands`| boolean;*`false`* | By default, if latex commands are indented (4 spaces / 1 tab) they do not become `Code Blocks`. |
707
721
 
708
722
  ### TOutputMath
709
723
 
Binary file