I've updated the macro HTML code and included code for both tabbed and spaced options, with default being spaced, due to compatibility.
Furthermore, the display orders now split every 1000, instead of every 100, and adds support for the <hr class="formRowSep" />
every 100 just like standard XF2 options.
If you are using this code in your addon, you should not simply paste this new macro code without also fixing all your options to multiply their display order by 10.