As far as I know the select text and quote feature will do a best effort work trying to preserve formatting using our HTML->Markdown conversion library.
If you use the quote full post (first button in the composer) we go to the server and ask for the raw markdown, and then the quote contains all the original formatting.