@agentshouse/mdmodel 0.1.0-alpha.17 → 0.1.0-alpha.18
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/API.md +8 -8
- package/dist/links.d.ts.map +1 -1
- package/dist/links.js +529 -148
- package/dist/links.js.map +1 -1
- package/dist/project.d.ts.map +1 -1
- package/dist/project.js +10 -2
- package/dist/project.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/fixtures/README.md +9 -3
- package/fixtures/cases/shortcut-reference-link/context.json +1 -0
- package/fixtures/cases/shortcut-reference-link/expected.json +6 -0
- package/fixtures/cases/shortcut-reference-link/library/item.md +10 -0
- package/fixtures/cases/shortcut-reference-link/schema.yaml +6 -0
- package/fixtures/cases/text-field-kind/context.json +1 -0
- package/fixtures/cases/text-field-kind/expected.json +7 -0
- package/fixtures/cases/text-field-kind/library/page.md +4 -0
- package/fixtures/cases/text-field-kind/schema.yaml +4 -0
- package/fixtures/projection.json +61 -0
- package/package.json +1 -1
package/API.md
CHANGED
|
@@ -220,14 +220,14 @@ the model reads no bytes, resolves no authority, and classifies nothing it was
|
|
|
220
220
|
not given.
|
|
221
221
|
|
|
222
222
|
An internal link contributes its visible label and no destination, fragment, or
|
|
223
|
-
title, in the inline `[label](path)`, full `[label][id]`,
|
|
224
|
-
`[label][]` forms, and the link reference definition an
|
|
225
|
-
through leaves the projection with it. An image at a
|
|
226
|
-
contributes its alt text the same way, because a move
|
|
227
|
-
too. External URLs, retained binary targets,
|
|
228
|
-
fragments, code spans, fenced code, and escaped
|
|
229
|
-
read through the same syntax profile `links`
|
|
230
|
-
returns text and never rewrites the Document.
|
|
223
|
+
title, in the inline `[label](path)`, full `[label][id]`, collapsed
|
|
224
|
+
`[label][]`, and shortcut `[label]` forms, and the link reference definition an
|
|
225
|
+
enumerated use resolves through leaves the projection with it. An image at a
|
|
226
|
+
supplied document target contributes its alt text the same way, because a move
|
|
227
|
+
rewrites that destination too. External URLs, retained binary targets,
|
|
228
|
+
unsupplied destinations, bare fragments, code spans, fenced code, and escaped
|
|
229
|
+
syntax stay exactly as authored, read through the same syntax profile `links`
|
|
230
|
+
and `validate` read. `project` returns text and never rewrites the Document.
|
|
231
231
|
|
|
232
232
|
Because a moved Path changes destinations alone, applying a `link` change leaves
|
|
233
233
|
the projection of every Document it rewrites byte-identical, while a changed
|
package/dist/links.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"links.d.ts","sourceRoot":"","sources":["../src/links.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"links.d.ts","sourceRoot":"","sources":["../src/links.ts"],"names":[],"mappings":"AA0sBA,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG;IACpB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,WAAW,EAAE,cAAc,CAAC;CACtC,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,WAAW,EAAE,cAAc,CAAC;CACtC,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,CAAC,IAAI,EAAE,SAAS,OAAO,EAAE,CAAC;IAClC,QAAQ,CAAC,MAAM,EAAE,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