Allow PDF Export Location To Be Automated

Use case or problem

I would like to automate choosing the directory when exporting a markdown file to PDF using obsidians native feature

Proposed solution

Allow user to decide a destination using some sort of pattern maybe?

Related feature requests (optional)

enhancing export plugin has this feature