Edit Docs by headings and text
Map a document, then insert, replace and style text, images, tables and lists by heading or quoted text.
$
goog docs map DOCUMENT_ID$
goog docs text replace DOCUMENT_ID --find "draft" --replace "final"$
goog docs image insert DOCUMENT_ID "https://example.test/chart.png" --at 'heading:Summary'