Both template literals html and svg have been superseded by htl.html and htl.svg. They will at some point become the new default, but we can’t make that change just yet.
You may have encountered notebooks that have adopted the following pattern to replace the old template tag with the new one:
Right now you don’t need to replace anything. Deprecated simply means that we won’t provide support for these methods and suggest that you consider alternatives.
As far as I’m aware there are currently no concrete plans to remove any of them, and we would certainly ensure that removing them won’t break existing notebooks.
By the way: If you need DOM.svg() so frequently that writing anything slightly longer becomes a burden, then I recommend to create your own toolbox notebook. This will let you define even more concise shorthands that you can adapt to your preference and import into your notebooks: