Modify the markdown editor to make it work with server-side