Load a SysProM document from a file (JSON or Markdown).
File path or directory to load from.
The loaded document with its detected format and resolved path.
const { doc, format } = loadDocument("project.spm.json"); Copy
const { doc, format } = loadDocument("project.spm.json");
Load a SysProM document from a file (JSON or Markdown).