I tried every text expander app for Mac and finally today I found Keyboard Maestro. What can you do with this? Well, it seems like everything related to automation. And it can also read and modify html of websites, it seriously looks like it is limitless
Besides obvious things like templates and expanding abbreviations, I'm using it currently for:
Duplicate item without children https://www.dropbox.com/s/e5fqn5hqvpnv26x/Duplicate%20node.kmmacros?dl=0
Duplicate item and its children (you need to modify it it you want to select and duplicate multiple items, because currently it duplicate item properly when cursor is visible in item, not when item is selected, but it's easy to modify, it's based only on keyboard shortcuts) https://www.dropbox.com/s/ipwgevnldw7tq0d/Duplicate%20node%20with%20children.kmmacros?dl=0
Capturing from anywhere! I have document called "#inbox" in DL and this macro check if there are Chrome windows opened (you can use Safari if you want, but you will need to modify it slightly) and if those windows have tab with title containing "#inbox" - if it exist, Chrome and this tab will be focused. If not then new small Chrome window will open for me with this document (you need to provide link to your document in macro, I removed link to my document before exporting it). You can have as many capture documents (or zooms in one document, you need only link and title for macro to work and zooms are like normal documents) as you like and recreate this functionality many times. I bet that this can be automated even more, to automatically paste some text and close window, but I don't need it.
This is amazing, I already love it and I only use maybe 0,1% of possibilities