@noirmd/previewer 2.0.2 → 2.0.4

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.
@@ -10,10 +10,12 @@ interface NReditorProps extends ReactCodeMirrorProps {
10
10
  debounceMs?: number;
11
11
  /** Inject Tailwind v4 browser CDN for preview. Default: false */
12
12
  tailwindCDN?: boolean;
13
- /** Called when user clicks Guía */
13
+ /** Called when user clicks Guía (only when `guide` is not enabled) */
14
14
  onGuide?: () => void;
15
15
  /** Called when user clicks Configurar */
16
16
  onConfig?: () => void;
17
+ /** Show the built-in syntax guide (opened from the toolbar) */
18
+ guide?: boolean;
17
19
  }
18
20
  /**
19
21
  * NReditor — CodeMirror 6 editor with live markdown preview.
@@ -10,10 +10,12 @@ interface NReditorProps extends ReactCodeMirrorProps {
10
10
  debounceMs?: number;
11
11
  /** Inject Tailwind v4 browser CDN for preview. Default: false */
12
12
  tailwindCDN?: boolean;
13
- /** Called when user clicks Guía */
13
+ /** Called when user clicks Guía (only when `guide` is not enabled) */
14
14
  onGuide?: () => void;
15
15
  /** Called when user clicks Configurar */
16
16
  onConfig?: () => void;
17
+ /** Show the built-in syntax guide (opened from the toolbar) */
18
+ guide?: boolean;
17
19
  }
18
20
  /**
19
21
  * NReditor — CodeMirror 6 editor with live markdown preview.