In RakuAST::Doc::Paragraph§
See primary documentation in context for method add-atom.
$paragraph.add-atom("baz\n");
Add an atom: should be a string, or a RakuAST::Doc::Markup object.
In RakuAST::Doc::Markup§
See primary documentation in context for method add-atom.
$markup.add-atom( ("foo",) );
Add an atom to the atoms of the object. Values are expected to be either a string, or a RakuAST::Doc::Markup object.