@agentshouse/mdmodel 0.1.0-cbb41ab5ebbd2 → 0.1.0-cbd3c46de90bf

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.
Files changed (90) hide show
  1. package/API.md +27 -93
  2. package/README.md +0 -1
  3. package/dist/definition.d.ts.map +1 -1
  4. package/dist/definition.js +26 -4
  5. package/dist/document.d.ts +1 -0
  6. package/dist/document.d.ts.map +1 -1
  7. package/dist/document.js +21 -12
  8. package/dist/house-model.d.ts +66 -16
  9. package/dist/house-model.d.ts.map +1 -1
  10. package/dist/house-model.js +43 -11
  11. package/dist/index.d.ts +7 -9
  12. package/dist/index.d.ts.map +1 -1
  13. package/dist/index.js +5 -7
  14. package/dist/markdown.d.ts +0 -4
  15. package/dist/markdown.d.ts.map +1 -1
  16. package/dist/markdown.js +1 -34
  17. package/dist/paths.d.ts +1 -0
  18. package/dist/paths.d.ts.map +1 -1
  19. package/dist/paths.js +20 -4
  20. package/dist/query/language.d.ts +2 -0
  21. package/dist/query/language.d.ts.map +1 -1
  22. package/dist/query/language.js +3 -2
  23. package/dist/query/match.d.ts.map +1 -1
  24. package/dist/query/match.js +3 -24
  25. package/dist/query/rows.d.ts +4 -0
  26. package/dist/query/rows.d.ts.map +1 -1
  27. package/dist/query/rows.js +21 -0
  28. package/dist/query/sql.d.ts +2 -0
  29. package/dist/query/sql.d.ts.map +1 -1
  30. package/dist/query/sql.js +11 -0
  31. package/dist/query/walk.d.ts +6 -0
  32. package/dist/query/walk.d.ts.map +1 -1
  33. package/dist/query/walk.js +12 -1
  34. package/dist/reserved.d.ts +1 -0
  35. package/dist/reserved.d.ts.map +1 -1
  36. package/dist/reserved.js +15 -4
  37. package/dist/room-types.d.ts +2 -1
  38. package/dist/room-types.d.ts.map +1 -1
  39. package/dist/room-types.js +8 -0
  40. package/dist/types.d.ts +2 -21
  41. package/dist/types.d.ts.map +1 -1
  42. package/dist/validate.d.ts.map +1 -1
  43. package/dist/validate.js +7 -6
  44. package/dist/view.d.ts +5 -0
  45. package/dist/view.d.ts.map +1 -0
  46. package/dist/view.js +27 -0
  47. package/dist/yaml.d.ts +3 -1
  48. package/dist/yaml.d.ts.map +1 -1
  49. package/dist/yaml.js +153 -32
  50. package/fixtures/README.md +37 -54
  51. package/fixtures/cases/block-scalar-frontmatter/context.json +1 -0
  52. package/fixtures/cases/block-scalar-frontmatter/expected.json +1 -0
  53. package/fixtures/cases/block-scalar-frontmatter/library/notes/literal.md +17 -0
  54. package/fixtures/cases/block-scalar-frontmatter/library/skills/notes/SKILL.md +10 -0
  55. package/fixtures/cases/frontmatter-construct/context.json +1 -0
  56. package/fixtures/cases/frontmatter-construct/expected.json +7 -0
  57. package/fixtures/cases/frontmatter-construct/library/note.md +6 -0
  58. package/fixtures/cases/reference-to-any-file-name/context.json +1 -0
  59. package/fixtures/cases/reference-to-any-file-name/expected.json +1 -0
  60. package/fixtures/cases/reference-to-any-file-name/library/people/100%.md +4 -0
  61. package/fixtures/cases/reference-to-any-file-name/library/people/C#.md +4 -0
  62. package/fixtures/cases/reference-to-any-file-name/library/people/My notes.md +4 -0
  63. package/fixtures/cases/reference-to-any-file-name/library/people/[draft].md +4 -0
  64. package/fixtures/cases/reference-to-any-file-name/library/people/c (d).md +4 -0
  65. package/fixtures/cases/reference-to-any-file-name/library/people/caf/303/251.md +4 -0
  66. package/fixtures/cases/reference-to-any-file-name/library/people//320/236/321/202/321/207/321/221/321/202.md +4 -0
  67. package/fixtures/cases/reference-to-any-file-name/library/tasks/bracket.md +9 -0
  68. package/fixtures/cases/reference-to-any-file-name/library/tasks/cyrillic.md +9 -0
  69. package/fixtures/cases/reference-to-any-file-name/library/tasks/decomposed.md +9 -0
  70. package/fixtures/cases/reference-to-any-file-name/library/tasks/hash.md +9 -0
  71. package/fixtures/cases/reference-to-any-file-name/library/tasks/parenthesis.md +9 -0
  72. package/fixtures/cases/reference-to-any-file-name/library/tasks/percent.md +9 -0
  73. package/fixtures/cases/reference-to-any-file-name/library/tasks/spaced.md +9 -0
  74. package/fixtures/cases/reference-to-any-file-name/schema.yaml +10 -0
  75. package/fixtures/cases/referenced-missing-non-latin-file/context.json +1 -0
  76. package/fixtures/cases/referenced-missing-non-latin-file/expected.json +6 -0
  77. package/fixtures/cases/referenced-missing-non-latin-file/library/tasks/a.md +9 -0
  78. package/fixtures/cases/referenced-missing-non-latin-file/library/tasks/b.md +9 -0
  79. package/fixtures/cases/referenced-missing-non-latin-file/schema.yaml +10 -0
  80. package/fixtures/forms.json +24 -0
  81. package/fixtures/queries.json +204 -1
  82. package/package.json +1 -1
  83. package/dist/divide.d.ts +0 -3
  84. package/dist/divide.d.ts.map +0 -1
  85. package/dist/divide.js +0 -321
  86. package/dist/project.d.ts +0 -22
  87. package/dist/project.d.ts.map +0 -1
  88. package/dist/project.js +0 -101
  89. package/fixtures/division.json +0 -454
  90. package/fixtures/projection.json +0 -358
@@ -1,358 +0,0 @@
1
- {
2
- "schema": "$defs:\n line: { type: string }\ntask:\n type: object\n properties:\n name: { type: string }\n aliases: { type: array, items: { type: string } }\n title: { type: string, pattern: '\\S' }\n status: { enum: [open, done] }\n owner: { type: string, reference: person }\n reviewers: { type: array, items: { type: string, reference: person } }\n due: { type: string, format: date }\n estimate: { type: number }\n labels: { type: array, items: { type: string, pattern: '^[a-z]+$' } }\n contact:\n type: object\n properties:\n note: { type: string }\n email: { type: string, format: email }\n notes: { type: object, additionalProperties: { type: string } }\n backup: { $ref: '#/$defs/line', format: email }\n memo: { type: [string, 'null'] }\n steps:\n type: array\n items:\n type: object\n properties:\n title: { type: string }\n done: { type: boolean }\n description: { type: string, contentMediaType: text/markdown, minLength: 1, title: Description }\n acceptance: { type: array, items: { type: string, reference: person }, title: Acceptance }\n checklist: { type: array, items: { type: string }, title: Checklist }\n required: [name, title, status, description]\nperson: {}\n",
3
- "cases": [
4
- {
5
- "name": "any body keeps labels and leaves every unsupplied destination authored",
6
- "file": "notes/one.md",
7
- "source": "---\ntitle: Note\n---\n\nRead [the plan](../plans/q3.md#goals \"Plan\") and ![the figure](../assets/figure.png).\nSee the [site](https://example.com/x.md) and this [anchor](#here).\nAn [unheld draft](../plans/draft.md) keeps the destination nobody supplied.\nEscaped \\[the plan\\](../plans/q3.md) stays, and so does `[the plan](../plans/q3.md)`.\n\n```sh\ncat [the plan](../plans/q3.md)\n```\n",
8
- "documentTargets": [
9
- "plans/q3.md",
10
- "plans/2026-q3.md"
11
- ],
12
- "definition": null,
13
- "move": {
14
- "href": "../plans/q3.md#goals",
15
- "to": "../plans/2026-q3.md"
16
- },
17
- "expected": {
18
- "ok": true,
19
- "text": "\nRead the plan and ![the figure](../assets/figure.png).\nSee the [site](https://example.com/x.md) and this [anchor](#here).\nAn [unheld draft](../plans/draft.md) keeps the destination nobody supplied.\nEscaped \\[the plan\\](../plans/q3.md) stays, and so does `[the plan](../plans/q3.md)`.\n\n```sh\ncat [the plan](../plans/q3.md)\n```\n"
20
- }
21
- },
22
- {
23
- "name": "any body without frontmatter projects from its first character",
24
- "file": "notes/two.md",
25
- "source": "# Title\n\nSee [the plan](plans/q3.md).\n",
26
- "documentTargets": [
27
- "notes/plans/q3.md",
28
- "notes/plans/2026-q3.md"
29
- ],
30
- "definition": null,
31
- "move": {
32
- "href": "plans/q3.md",
33
- "to": "plans/2026-q3.md"
34
- },
35
- "expected": {
36
- "ok": true,
37
- "text": "# Title\n\nSee the plan.\n"
38
- }
39
- },
40
- {
41
- "name": "a Document that declares the built-in any type projects its body like an undeclared one",
42
- "file": "notes/three.md",
43
- "source": "---\ntype: any\ntitle: Note\n---\n\n## Notes\n\nRead [the plan](../plans/q3.md#goals \"Plan\") and see the [site](https://example.com/x.md).\n",
44
- "documentTargets": [
45
- "plans/q3.md",
46
- "plans/2026-q3.md"
47
- ],
48
- "definition": null,
49
- "move": {
50
- "href": "../plans/q3.md#goals",
51
- "to": "../plans/2026-q3.md"
52
- },
53
- "expected": {
54
- "ok": true,
55
- "text": "\n## Notes\n\nRead the plan and see the [site](https://example.com/x.md).\n"
56
- }
57
- },
58
- {
59
- "name": "a typed Document projects its free-text field values as bare values and no other kind",
60
- "file": "tasks/four.md",
61
- "source": "---\ntype: task\n---\n# Ship the release\n\n- **aliases**:\n - Launch day\n - Cutover\n- **title**: Ship it\n- **status**: open\n- **owner**: [Ana](../people/ana.md)\n- **due**: 2026-09-30\n- **estimate**: 3\n- **labels**:\n - core\n - urgent\n",
62
- "documentTargets": [],
63
- "definition": "task",
64
- "move": null,
65
- "expected": {
66
- "ok": true,
67
- "text": "Ship the release\n\nLaunch day\n\nCutover\n\n"
68
- }
69
- },
70
- {
71
- "name": "a typed Document projects its prose at any depth in document order and leaves every filtered value out",
72
- "file": "tasks/twelve.md",
73
- "source": "---\ntype: task\n---\n# Ship the release\n\n- **title**: Ship it\n- **status**: open\n- **owner**: [Ana](../people/ana.md)\n- **reviewers**:\n - [Bo](../people/bo.md)\n- **due**: 2026-09-30\n- **contact**:\n - **note**: Call before noon\n - **email**: ana@example.com\n- **Acceptance**:\n - [Ana](../people/ana.md)\n- **Checklist**:\n - Notes written\n\n## steps\n\n| title | done |\n| --- | --- |\n| Tag the build | [x] |\n| Announce it | [ ] |\n\n## Description\n\nCut the release.\n",
74
- "documentTargets": [],
75
- "definition": "task",
76
- "move": null,
77
- "filtered": {
78
- "field": "status",
79
- "value": "done"
80
- },
81
- "expected": {
82
- "ok": true,
83
- "text": "Ship the release\n\nCall before noon\n\nNotes written\n\nTag the build\n\nAnnounce it\n\nCut the release.\n"
84
- }
85
- },
86
- {
87
- "name": "a typed Document projects the prose of an open map and a nullable string and leaves a formatted $ref out",
88
- "file": "tasks/launch.md",
89
- "source": "---\ntype: task\n---\n# Plan the launch\n\n- **title**: Plan\n- **status**: open\n- **notes**:\n - **monday**: Book the room\n - **friday**: Send the invite\n- **backup**: ana@example.com\n\n## memo\n\n```json\n\"Bring slides\"\n```\n\n## Description\n\nLaunch.\n",
90
- "documentTargets": [],
91
- "definition": "task",
92
- "move": null,
93
- "filtered": {
94
- "field": "backup",
95
- "value": "bo@example.com"
96
- },
97
- "expected": {
98
- "ok": true,
99
- "text": "Plan the launch\n\nBook the room\n\nSend the invite\n\nBring slides\n\nLaunch.\n"
100
- }
101
- },
102
- {
103
- "name": "a typed Document projects its preamble, its long values without their labels and every free section, and leaves its references out",
104
- "file": "tasks/one.md",
105
- "source": "---\ntype: task\n---\n# Shipping the release\n\n- **title**: Ship it\n- **status**: open\n- **owner**: [Ana](../people/ana.md)\n- **Acceptance**:\n - [Ana](../people/ana.md)\n- **Checklist**:\n - [the plan](../plans/q3.md) is read\n\nPreamble prose that mentions [the plan](../plans/q3.md).\n\n## Description\n\nFollow [the plan][plan] and [the plan][plan] again, then [read it][].\n\n[plan]: ../plans/q3.md \"Plan\"\n[read it]: ../plans/q3.md\n\n## Notes\n\nUndeclared prose about [the plan](../plans/q3.md).\n",
106
- "documentTargets": [
107
- "plans/q3.md",
108
- "plans/2026-q3.md"
109
- ],
110
- "definition": "task",
111
- "move": {
112
- "href": "../plans/q3.md",
113
- "to": "../plans/2026-q3.md"
114
- },
115
- "relabel": {
116
- "from": "[the plan][plan] and",
117
- "to": "[the roadmap][plan] and",
118
- "expected": {
119
- "ok": true,
120
- "text": "Shipping the release\n\nthe plan is read\n\nPreamble prose that mentions the plan.\n\nFollow the roadmap and the plan again, then read it.\n\n\n## Notes\n\nUndeclared prose about the plan.\n"
121
- }
122
- },
123
- "expected": {
124
- "ok": true,
125
- "text": "Shipping the release\n\nthe plan is read\n\nPreamble prose that mentions the plan.\n\nFollow the plan and the plan again, then read it.\n\n\n## Notes\n\nUndeclared prose about the plan.\n"
126
- }
127
- },
128
- {
129
- "name": "a link definition in another section resolves its use and leaves the projection",
130
- "file": "tasks/two.md",
131
- "source": "---\ntype: task\n---\n- **title**: Ship it\n- **status**: open\n\n## Description\n\nFollow [the plan][plan].\n\n## Notes\n\n[plan]: ../plans/q3.md\n",
132
- "documentTargets": [
133
- "plans/q3.md",
134
- "plans/2026-q3.md"
135
- ],
136
- "definition": "task",
137
- "move": {
138
- "href": "../plans/q3.md",
139
- "to": "../plans/2026-q3.md"
140
- },
141
- "expected": {
142
- "ok": true,
143
- "text": "Follow the plan.\n\n## Notes\n\n"
144
- }
145
- },
146
- {
147
- "name": "a heading that names a field after a thematic break is free text and projected with it",
148
- "file": "tasks/three.md",
149
- "source": "---\ntype: task\n---\n- **title**: Ship it\n- **status**: open\n\n## Description\n\nFirst [plan](../plans/q3.md).\n\n---\n\n## Description\n\nSecond note.\n",
150
- "documentTargets": [
151
- "plans/q3.md",
152
- "plans/2026-q3.md"
153
- ],
154
- "definition": "task",
155
- "move": {
156
- "href": "../plans/q3.md",
157
- "to": "../plans/2026-q3.md"
158
- },
159
- "expected": {
160
- "ok": true,
161
- "text": "First plan.\n\n\n## Description\n\nSecond note.\n"
162
- }
163
- },
164
- {
165
- "name": "a declared type the caller does not supply is refused",
166
- "file": "tasks/one.md",
167
- "source": "---\ntype: task\n---\n# Shipping the release\n\n- **title**: Ship it\n- **status**: open\n- **owner**: [Ana](../people/ana.md)\n- **Acceptance**:\n - [Ana](../people/ana.md)\n- **Checklist**:\n - [the plan](../plans/q3.md) is read\n\nPreamble prose that mentions [the plan](../plans/q3.md).\n\n## Description\n\nFollow [the plan][plan] and [the plan][plan] again, then [read it][].\n\n[plan]: ../plans/q3.md \"Plan\"\n[read it]: ../plans/q3.md\n\n## Notes\n\nUndeclared prose about [the plan](../plans/q3.md).\n",
168
- "documentTargets": [
169
- "plans/q3.md",
170
- "plans/2026-q3.md"
171
- ],
172
- "definition": null,
173
- "move": null,
174
- "expected": {
175
- "ok": false,
176
- "refusal": {
177
- "file": "tasks/one.md",
178
- "rule": "unknown-type"
179
- }
180
- }
181
- },
182
- {
183
- "name": "an image at a supplied Markdown document target is projected like its link",
184
- "file": "notes/four.md",
185
- "source": "Read [the plan](../plans/q3.md) and ![the chart](../plans/q3.md).\nAlso [the plan][plan] and ![the chart][plan].\n\n[plan]: ../plans/q3.md\n",
186
- "documentTargets": [
187
- "plans/q3.md",
188
- "plans/2026-q3.md"
189
- ],
190
- "definition": null,
191
- "move": {
192
- "href": "../plans/q3.md",
193
- "to": "../plans/2026-q3.md"
194
- },
195
- "expected": {
196
- "ok": true,
197
- "text": "Read the plan and the chart.\nAlso the plan and the chart.\n\n"
198
- }
199
- },
200
- {
201
- "name": "a shortcut reference link projects its label and its definition leaves the projection",
202
- "file": "notes/five.md",
203
- "source": "Read [Plan] and [the draft], then [plan](not a link).\nAlso [[Plan]], [ plan ], \\[Plan] and [Release plan].\n\n[plan]: ../plans/q3.md\n[release plan]: ../plans/q3.md\n",
204
- "documentTargets": [
205
- "plans/q3.md",
206
- "plans/2026-q3.md"
207
- ],
208
- "definition": null,
209
- "move": {
210
- "href": "../plans/q3.md",
211
- "to": "../plans/2026-q3.md"
212
- },
213
- "links": [
214
- {
215
- "href": "../plans/q3.md",
216
- "target": "plans/q3.md"
217
- }
218
- ],
219
- "expected": {
220
- "ok": true,
221
- "text": "Read Plan and [the draft], then plan(not a link).\nAlso [Plan], plan , \\[Plan] and Release plan.\n\n"
222
- }
223
- },
224
- {
225
- "name": "an image whose description holds a link projects both labels",
226
- "file": "notes/six.md",
227
- "source": "Read ![outer [Plan](../plans/q3.md)](../plans/q4.md).\n",
228
- "documentTargets": [
229
- "plans/q3.md",
230
- "plans/2026-q3.md",
231
- "plans/q4.md"
232
- ],
233
- "definition": null,
234
- "move": {
235
- "href": "../plans/q3.md",
236
- "to": "../plans/2026-q3.md"
237
- },
238
- "links": [
239
- {
240
- "href": "../plans/q3.md",
241
- "target": "plans/q3.md"
242
- },
243
- {
244
- "href": "../plans/q4.md",
245
- "target": "plans/q4.md"
246
- }
247
- ],
248
- "expected": {
249
- "ok": true,
250
- "text": "Read outer Plan.\n"
251
- }
252
- },
253
- {
254
- "name": "a link inside a fenced block is no link",
255
- "file": "notes/seven.md",
256
- "source": "```md\n[Plan](../plans/q3.md)\n```\n",
257
- "documentTargets": [
258
- "plans/q3.md"
259
- ],
260
- "definition": null,
261
- "move": null,
262
- "links": [],
263
- "expected": {
264
- "ok": true,
265
- "text": "```md\n[Plan](../plans/q3.md)\n```\n"
266
- }
267
- },
268
- {
269
- "name": "a footnote is no link and its definition no link definition",
270
- "file": "notes/seven.md",
271
- "source": "Read [^plan].\n\n[^plan]: ../plans/q3.md\n",
272
- "documentTargets": [
273
- "plans/q3.md"
274
- ],
275
- "definition": null,
276
- "move": null,
277
- "links": [],
278
- "expected": {
279
- "ok": true,
280
- "text": "Read [^plan].\n\n[^plan]: ../plans/q3.md\n"
281
- }
282
- },
283
- {
284
- "name": "a label folds case so a dotless i reads as an i",
285
- "file": "notes/seven.md",
286
- "source": "Read [ı].\n\n[i]: ../plans/q3.md\n",
287
- "documentTargets": [
288
- "plans/q3.md",
289
- "plans/2026-q3.md"
290
- ],
291
- "definition": null,
292
- "move": {
293
- "href": "../plans/q3.md",
294
- "to": "../plans/2026-q3.md"
295
- },
296
- "links": [
297
- {
298
- "href": "../plans/q3.md",
299
- "target": "plans/q3.md"
300
- }
301
- ],
302
- "expected": {
303
- "ok": true,
304
- "text": "Read ı.\n\n"
305
- }
306
- },
307
- {
308
- "name": "a shortcut followed by a bracket group that is no label is no link",
309
- "file": "notes/seven.md",
310
- "source": "Read [Plan][[x]] and [Plan][ ].\n\n[plan]: ../plans/q3.md\n",
311
- "documentTargets": [
312
- "plans/q3.md"
313
- ],
314
- "definition": null,
315
- "move": null,
316
- "links": [],
317
- "expected": {
318
- "ok": true,
319
- "text": "Read [Plan][[x]] and [Plan][ ].\n\n[plan]: ../plans/q3.md\n"
320
- }
321
- },
322
- {
323
- "name": "a label longer than 999 UTF-16 code units is no label",
324
- "file": "notes/seven.md",
325
- "source": "Read [xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx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xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx😀]: ../plans/q3.md\n"
335
- }
336
- },
337
- {
338
- "name": "a bare URL is no link, and a link written inside one still is",
339
- "file": "notes/seven.md",
340
- "source": "Read www.example.com/[the plan](../plans/q3.md) and https://example.com/a.md now.\n",
341
- "documentTargets": [
342
- "plans/q3.md"
343
- ],
344
- "definition": null,
345
- "move": null,
346
- "links": [
347
- {
348
- "href": "../plans/q3.md",
349
- "target": "plans/q3.md"
350
- }
351
- ],
352
- "expected": {
353
- "ok": true,
354
- "text": "Read www.example.com/the plan and https://example.com/a.md now.\n"
355
- }
356
- }
357
- ]
358
- }