-x-trilium-auto">const template = ``;

class MyWidget extends api.BasicWidget {
    get position() {return 1;}
    get parentWidget() {return "left-pane"}

    doRender() {
        this.$widget = $(template);
        return this.$widget;
    }
}

module.exports = new MyWidget();</code></pre>
<p>After making this change, reload Trilium. You should now see a button
  in the top-left corner of the left pane.</p>
<h3>Step 3: Styling the Widget</h3>
<p>To make the button more visually appealing and position it c