Linking
HyperDocs links, prefixed with hd://
, take the following form:
hd://DOCUMENT_ID?v=VERSION_REF#BLOCK_REF
Entity References
The following portion is required:
hd://
- the HyperDocs URL schemeDOCUMENT_ID
- the ID of the Document to reference
Version References
A link with only hd://DOCUMENT_ID
is valid, but the entity may change over time. To link to the exact version of an Entity, include:
?v=
- optional query parameter designating the version refVERSION_REF
- the CID(s) of the EntityChange that represent an exact version of the Entity, separated by periods (.
)
Block References
When you link to Document Entities, you may deep-link to a specific block (section) of the document heirarchy. These are identified by block ID, as defined by the Document Entity.
A block reference points to a specific block within a Entity Reference or a Version Reference.
hd://DOCUMENT_ID#BLOCK_REF
- Block of Entity Refhd://DOCUMENT_ID?v=VERSION_REF#BLOCK_REF
- Block of Version Ref
A simple BLOCK_ID
is a valid Block Ref, but it may also include a character range, pointing to a string within a block. This is a Block Range Ref:
BLOCK_ID:START:END
BLOCK_ID
- the block ID of the refSTART
- utf8 character point (offset) of the start of the range refEND
- utf8 character point (offset) of the start of the range ref
Example Links
The following are real example links:
- TODO
Web Links
Note: The Mintter application uses the emerging "Aer" protocol to convert HTTPS URLs to
hd://
links automatically under the hood