Document contents can be viewed by opening a record through the canvas, or by browsing for records through the Data Model.
The Markdown trait, also known as subdocument or data structure, will be rendered as markdown-formatted rich text, useful for making nodes browseable and contain lengthier texts.
To use the Markdown built in trait, create a a mandatory or optional string property called markdown on a document and link it to the Markdown trait. Pictures can be linked but not yet uploaded into DFRNT, but may be possible to use through data: elements for the brave.
By using Markdown documents and use markdown links, documents can be made browseable like a Wiki, using relative links such as ../Type/documentId, with the ids that can be copied using the clipboard icon in the user interface. Super neat!
Trait definition for the Markdown trait (add a trait, paste below into the definition tab):
{
"@type": "Class",
"@key": {
"@type": "Random"
},
"@id": "Markdown",
"@inherits": [],
"@subdocument": [],
"markdown": "xsd:string"
}