The markdown toolbar has been implemented (with slightly different functionality):
See the relevant PR.
Perhaps due to a race condition (state change causes a re-create of the buttons in the toolbar), the buttons must sometimes be pressed multiple times.