@lax-wp/design-system 0.10.2 → 0.10.3

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.
@@ -14,6 +14,8 @@ export interface MarkdownPreviewProps {
14
14
  noIndent?: boolean;
15
15
  /** Whether to display all content with uniform font size/weight (paragraph-like) while keeping formatting */
16
16
  showMinimalPreview?: boolean;
17
+ /** Whether to accept and render advanced content (code blocks, blockquotes, tables, images) */
18
+ acceptAdvanceContent?: boolean;
17
19
  }
18
20
  /**
19
21
  * MarkdownPreview component displays rendered markdown content.
@@ -39,6 +41,7 @@ export interface MarkdownPreviewProps {
39
41
  * - Configurable link behavior
40
42
  * - Optional no-indent mode for aligned content
41
43
  * - Minimal preview mode (uniform typography)
44
+ * - Toggle advanced content (code blocks, blockquotes, tables, images)
42
45
  *
43
46
  * @example
44
47
  * ```tsx
@@ -47,6 +50,7 @@ export interface MarkdownPreviewProps {
47
50
  * linkTarget="_blank"
48
51
  * noIndent={false}
49
52
  * showMinimalPreview={false}
53
+ * acceptAdvanceContent={true}
50
54
  * />
51
55
  * ```
52
56
  */
@@ -56,6 +56,8 @@ export interface RichMarkdownInputProps {
56
56
  noIndent?: boolean;
57
57
  /** Whether to display all content with uniform font size/weight (paragraph-like) while keeping formatting */
58
58
  showMinimalPreview?: boolean;
59
+ /** Whether to accept and render advanced content (code blocks, blockquotes, tables, images) in preview */
60
+ acceptAdvanceContent?: boolean;
59
61
  /** Callback function called when the markdown value changes */
60
62
  onChange: (value: string) => void;
61
63
  }
@@ -86,6 +88,7 @@ export interface RichMarkdownInputProps {
86
88
  * - Suffix icon support
87
89
  * - Custom keyboard handlers
88
90
  * - Minimal preview mode (uniform typography)
91
+ * - Toggle advanced content in preview
89
92
  *
90
93
  * @example
91
94
  * ```tsx
@@ -100,6 +103,7 @@ export interface RichMarkdownInputProps {
100
103
  * errorMessage="Invalid input"
101
104
  * tooltip="Use markdown formatting"
102
105
  * showMinimalPreview={false}
106
+ * acceptAdvanceContent={true}
103
107
  * />
104
108
  * ```
105
109
  */