Trilium Backend API
    Preparing search index...
    append: <T extends AnyNode>(
        this: Cheerio<T>,
        ...elems:
            | [
                (
                    this: AnyNode,
                    i: number,
                    html: string,
                ) => BasicAcceptedElems<AnyNode>,
            ]
            | BasicAcceptedElems<AnyNode>[],
    ) => Cheerio<T>

    Inserts content as the last child of each of the selected elements.

    Type Declaration

    $('ul').append('<li class="plum">Plum</li>');
    $.html();
    //=> <ul id="fruits">
    // <li class="apple">Apple</li>
    // <li class="orange">Orange</li>
    // <li class="pear">Pear</li>
    // <li class="plum">Plum</li>
    // </ul>