@usememos/editor 26.10.4 → 26.10.5
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/dist/index.js +18 -7
- package/dist/index.js.map +2 -2
- package/dist/types/markdown/serialize.d.ts +4 -4
- package/package.json +1 -1
|
@@ -20,9 +20,9 @@ export declare function serializeInline(inline: Inline, options?: MarkdownOption
|
|
|
20
20
|
* - Whitespace at the edges of a bold, italic or strike run moves outside it,
|
|
21
21
|
* because `**foo **` is not valid emphasis.
|
|
22
22
|
* - A "\n" in a code span is a hard break outside the code span.
|
|
23
|
-
* - Spaces and tabs that end a line of text are dropped, because
|
|
24
|
-
* strips them. Writing them as character references instead would
|
|
25
|
-
* " " behind wherever someone typed a space last. A line
|
|
26
|
-
* whitespace keeps it, so the line is not lost.
|
|
23
|
+
* - Spaces and tabs that start or end a line of text are dropped, because
|
|
24
|
+
* Markdown strips them. Writing them as character references instead would
|
|
25
|
+
* leave " " behind wherever someone typed a space first or last. A line
|
|
26
|
+
* of only whitespace keeps it, so the line is not lost.
|
|
27
27
|
*/
|
|
28
28
|
export declare function representableInline(inline: Inline): Span[];
|