Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Export with Unpersisted File? #6219

Open
jon-sully opened this issue Jan 23, 2025 · 1 comment
Open

Custom Export with Unpersisted File? #6219

jon-sully opened this issue Jan 23, 2025 · 1 comment

Comments

@jon-sully
Copy link

Hello!

Just wanted to ask if there's a way to export a document I've created new but haven't actually saved anywhere yet ("Untitled") — I built a custom export script for my purposes and am injecting ${currentPath} into the command. It works great for files that are saved / persisted, but it doesn't seem to work with temporary / yet-to-be-saved files. Which makes sense, I understand. Just curious if there's another variable or way to pass along a file path to a command. Mostly just hoping there's like a temp file or something that Typora is persisting until the user decides to save everything to a real file, and I could use the temp file instead?

Thank you!

@jon-sully
Copy link
Author

I guess it's not that out-of-the-blue either — we can export unpersisted files to PDF and various other means; just trying to figure out my missing piece here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant