A build (not necessarily the latest version) of our C# port of the original Smart Indenter add-in is hosted on this website: the library doesn’t really care whether it’s indenting a string that comes from the VBE, or one that comes from, say, a textbox on some web page...