@dogsbay/types 0.2.0-beta.129 → 0.2.0-beta.130
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/tree.d.ts +8 -0
- package/package.json +1 -1
package/dist/tree.d.ts
CHANGED
|
@@ -43,12 +43,20 @@ export interface InlineText {
|
|
|
43
43
|
bold?: boolean;
|
|
44
44
|
italic?: boolean;
|
|
45
45
|
strikethrough?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Set by the dogsbay-md parser on bold text (or an all-bold link) that ends a source line
|
|
48
|
+
* inside a paragraph. Markdown turns that line break into a space, so without it `**Title**`
|
|
49
|
+
* over a line of detail and `**Click** Save.` are the same tree. Read by `stepLead`.
|
|
50
|
+
*/
|
|
51
|
+
lineEnd?: boolean;
|
|
46
52
|
}
|
|
47
53
|
/** Link wrapping inline children (link text can contain formatting). */
|
|
48
54
|
export interface InlineLink {
|
|
49
55
|
type: "link";
|
|
50
56
|
href: string;
|
|
51
57
|
title?: string;
|
|
58
|
+
/** As on InlineText: an all-bold link that ends a source line inside a paragraph. */
|
|
59
|
+
lineEnd?: boolean;
|
|
52
60
|
/**
|
|
53
61
|
* Attributes from a trailing `{...}` block, e.g.
|
|
54
62
|
* `[text](href){.class #id style="..."}`. `id`, `class`, and `style`
|