M2Doc Documentation

asBookmark(text: java.lang.String, id: java.lang.String) = MBookmark

Converts a String to a bookmark declaration

Expression Result
'Definition of Artifact1'.asBookmark('Art1') a bookmark with the ID 'Art1' the label 'Definition of Artifact1'


asBookmarkRef(text: java.lang.String, id: java.lang.String) = MBookmark

Converts a String to a bookmark reference

Expression Result
'Artifact1'.asBookmark('Art1') a bookmark reference with the ID 'Art1' the label 'Definition of Artifact1'


asLink(text: java.lang.String, url: java.lang.String) = MHyperLink

Converts a String to an hyperlink

Expression Result
'My website'.asLink('http://www.example.org') a link to http://www.example.org with the label My website