reachat 1.1.0 → 1.2.0

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
@@ -52,8 +52,9 @@ theme via Tailwind.
52
52
  - Tables
53
53
  - JSON
54
54
  - Lists
55
+ - Math
55
56
  - Embeds ( Youtube )
56
- - remark plugin support
57
+ - remark/rhype plugin support
57
58
  - File Uploads
58
59
  - Image Preview
59
60
  - Message Sources
@@ -6,6 +6,10 @@ interface MarkdownWrapperProps extends PropsWithChildren {
6
6
  * Remark plugins to apply to the markdown content.
7
7
  */
8
8
  remarkPlugins?: PluggableList[];
9
+ /**
10
+ * Rehype plugins to apply to the markdown content.
11
+ */
12
+ rehypePlugins?: PluggableList[];
9
13
  }
10
14
  export declare const Markdown: FC<MarkdownWrapperProps>;
11
15
  export {};
package/dist/docs.json CHANGED
@@ -560,7 +560,7 @@
560
560
  "props": {
561
561
  "remarkPlugins": {
562
562
  "defaultValue": {
563
- "value": "[remarkGfm]"
563
+ "value": "[remarkGfm, remarkMath]"
564
564
  },
565
565
  "description": "Remark plugins to apply to the markdown content.",
566
566
  "name": "remarkPlugins",
@@ -578,6 +578,27 @@
578
578
  "type": {
579
579
  "name": "PluggableList[]"
580
580
  }
581
+ },
582
+ "rehypePlugins": {
583
+ "defaultValue": {
584
+ "value": "[rehypeKatex]"
585
+ },
586
+ "description": "Rehype plugins to apply to the markdown content.",
587
+ "name": "rehypePlugins",
588
+ "parent": {
589
+ "fileName": "src/Markdown/Markdown.tsx",
590
+ "name": "MarkdownWrapperProps"
591
+ },
592
+ "declarations": [
593
+ {
594
+ "fileName": "src/Markdown/Markdown.tsx",
595
+ "name": "MarkdownWrapperProps"
596
+ }
597
+ ],
598
+ "required": false,
599
+ "type": {
600
+ "name": "PluggableList[]"
601
+ }
581
602
  }
582
603
  }
583
604
  },