Export as markdown

There is this script which I think offers options like that:

1 Like