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/.idea/workspace.xml +272 -499
- package/README.md +14 -0
- package/assets/mmd-image-properties.webp +0 -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 +7 -4
- package/lib/markdown/mathpix-markdown-plugins.js.map +1 -1
- package/lib/markdown/mdPluginRaw.js +3 -1
- package/lib/markdown/mdPluginRaw.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
|
@@ -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
|
+
{ width=50% }
|
|
54
|
+
{ width="36px" }
|
|
55
|
+
{width="20px",height="20px"}
|
|
56
|
+
{width="20px",height="20px",right}
|
|
57
|
+
{width="20px",height="20px", align="left"}
|
|
58
|
+
~~~
|
|
59
|
+

|
|
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
|