Links in a conflicted copy
Which item each link and embed in a conflicted copy's body names, so you know which references edges the instance gives the copy.
When a write lands in a conflicted copy, the instance gives the copy a references edge to each item its body names, once each, where the writer may write that edge. It reads the body as a working copy reads one, so the copy gets the edges a working copy would have queued.
Links
| Link | What it names |
|---|---|
[[name]], [[name|shown]], [[name#part]] | The item whose ID is name, or else the one item that answers to name |
Ignoring case and Unicode form, these answer to a name:
- An item that holds it as its title, where the writer may list the item.
- A placed file whose path or file name is the name, with or without the extension, such as
[[Projects/Plan]]or[[Plan]]. Only a writer that may readin-folderedges sees placed names.
The items the original already references come first. When one of them answers to a link, the instance reads the link among those items alone, so a link keeps naming the same item when another item takes its name.
Embeds
![[name]] and  name the one file with stored bytes whose title is the embed's file name, or that is placed at a path with that file name.
- A path read from the folder the original is placed in, such as
or![[./beach.png]], is read among the files placed at that path alone, when there are any. - The original's own files are read alone when one answers: the files attached to it, or else the files it references.
- An embed of a note names nothing. That is an embed of a
.md,.markdownor.txtfile.
What names nothing
- A name that more than one item answers to, such as a title that a placed file's name also answers to.
- A link to the original or to the copy, by ID or by a name either answers to.
- A link in code or a comment.
- A link to an item in the bin, or to one the writer may not read.
- An embed of a web address, or a Markdown path with whitespace in it.
The rules are items/conflicted-copy-references and the rules after it in the contract's items chapter.