currently only bold+italic is handled, does not handle other nesting well. Maybe look at https://github.com/Mogztter/asciidoc-googledocs-addon/blob/master/app/Code.gs for how it does it? PDD#EV4560