You can include external documents in your project and then use the
colocate() service to link to them in the M2Doc report. If you generate the
output file to an external location, a copy of the external document is co-located at the same
location as the external output file.
In the following example, if the report is generated in the project, the external document "myExternalDoc" is linked to in the report. If the M2Doc report is generated externally, the external document is co-located with the generated report. The link in the report points to this external location.
Example
{ m:'This is the link'.asLink(myExternalDoc.colocate()) } to the external
document.
To display a tooltip containing the link to the external document, hover over the words "This is the link"
To open the external document, press Ctrl and click the words.