Skip to content

Conversation

@flovst
Copy link

@flovst flovst commented Jul 14, 2025

Add support for ${filename} representing the corresponding markdown filename of the current note when specifying attachment folder (as in Typora).

As follows, if you export the note to test.md, the attachments will be saved to a folder named test.assets in the same directory.
image

The modifications should only involve syncing markdowns and exporting markdown/latex.
However, there is a 'Don't overwrite' comment in processN2MRehypeImageNodes() and processN2L...() of src\utils\convert.ts, so I'm not sure if this would harm other functions.

@flovst flovst marked this pull request as ready for review July 14, 2025 10:06
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

Successfully merging this pull request may close these issues.

1 participant