wysimark-lite 0.15.7 → 0.16.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
@@ -57,8 +57,8 @@ pin "wysimark-lite", to: "https://cdn.jsdelivr.net/npm/wysimark-lite@latest/dist
57
57
 
58
58
  ## Features
59
59
 
60
- - **Complete Markdown Support**: Full support for CommonMark and GFM Markdown spec
61
60
  - **Modern Design**: Clean and contemporary interface that integrates seamlessly with React applications
61
+ - **Raw Markdown Mode**: Switch between WYSIWYG and raw Markdown editing modes
62
62
  - **User-Friendly Interface**:
63
63
  - Simplified toolbar with toggle buttons (click to activate/deactivate formatting)
64
64
  - Markdown shortcuts (e.g., `**` for **bold**, `#` for heading)
@@ -68,18 +68,6 @@ pin "wysimark-lite", to: "https://cdn.jsdelivr.net/npm/wysimark-lite@latest/dist
68
68
  - Nested lists support (create hierarchical lists with multiple levels)
69
69
  - Mix different list types in the hierarchy
70
70
 
71
- ## Supported Features
72
-
73
- - Tables
74
- - Ordered and Unordered Lists with nesting support
75
- - Task lists
76
- - Headings and paragraphs
77
- - Code blocks with syntax highlighting
78
- - Inline code
79
- - Links
80
- - Text styling (bold, italic, inline code)
81
- - Block quotes
82
-
83
71
  ## Browser Support
84
72
 
85
73
  - Google Chrome
package/dist/index.d.ts CHANGED
@@ -901,11 +901,6 @@ type EditableProps = {
901
901
  };
902
902
  declare function Editable({ editor, value, onChange, throttleInMs, placeholder, className, style, }: EditableProps): react_jsx_runtime.JSX.Element;
903
903
 
904
- /**
905
- * Function to escape forward slashes in URLs, but only for plain text URLs (not in markdown links)
906
- * This is necessary because the markdown parser doesn't handle unescaped forward slashes in URLs correctly
907
- */
908
- declare function escapeUrlSlashes(text: string): string;
909
904
  /**
910
905
  * The options passed into the standalone version of Wysimark.
911
906
  */
@@ -928,4 +923,4 @@ type Wysimark = {
928
923
  */
929
924
  declare function createWysimark(containerElement: HTMLElement, options: StandaloneOptions): Wysimark;
930
925
 
931
- export { Editable, Wysimark, createWysimark, escapeUrlSlashes, useEditor };
926
+ export { Editable, Wysimark, createWysimark, useEditor };