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

Front matter typora-copy-images-to not working without modification #6193

Open
talentedbug opened this issue Dec 12, 2024 · 0 comments
Open

Comments

@talentedbug
Copy link

I use Typora to write for my Hugo blog, so I add typora-copy-images-to: '../../static/img/${filename}.d' to the front matter of Hugo's default archetype. Every time I create a new Markdown file, Typora should detect the setting and download/paste images to that folder.

However, Typora still uses the default global setting of pasting to ./${filename}.d. But if I modify the front matter after the document is opened, such as deleting the trailing d and then add it back, the configuration works. I think this is a rare bug.

My Typora image settings:

image

Default front matter, added before Typora touches the document:

image

Expected behavior: Copy images into ../static/img/${filename}.d.

Actual behavior: Copy images into ./${filename}.d.

Typora version: 1.9.3 latest

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