Hi abelousov,
Thank you for the example. I understand now. As you have discovered, that is not possible using the current shortcodes. It seems like it might be useful for other people, so I will investigate about adding that functionality.
It seems it would be relatively straightforward to add another input box on the wiki link popup where one could type the target (“#foo”), but I wonder about how would one create the target you wanted to jump to? Add another popup or option to create the target? Do you have suggestions or examples?
Best regards,
David