expand method
Expands text (the file at path) as the canvas screen: a page (its
one leading ### Name line is left out), or a component.
Implementation
NotationResult expand(String text, {required String screen}) {
final self = notationComponentType(text);
return _expand(self == null ? _withoutScreenHeading(text) : text, _libraryFor(self), screen: screen);
}