The primary source for documentation for libguestfs and the tools are the Unix man pages. The API is documented in guestfs(3). guestfish is documented in guestfish(1). The virt tools are documented in their own man pages (eg. virt-df(1)).
Here are the common uses of Markdown.
Code surrounded in tildes is easier to read
[Red Hat Customer Portal](https://access.redhat.com)