Formatted export not working for code

When I select “Export…” in the menu of an item, I get the option to copy formatted text. However Inline code as well as

code blocks

will not be formatted. In the export, code should be rendered in mono space font, and ticks (`) should be removed.

Thanks