markdown button bindings for ace editor