Releases: reorx/obsidian-paste-image-rename
1.6.1
1.6.0
Fixed:
-
Markdown image link not replaced after the file is renamed, affecting #11, #12, #13, #24
This problem has been there for a very long time, I first wanted to say sorry to all the people who
encountered this problem. I didn't have much idea about how to solve it before,
partly because the way I tried to match and replace the Wikilink or Markdown link
went the wrong way, which was not only complicated but also very inconsistent.
Today I finally fixed this issue by using the Obsidian APIFileManager.generateMarkdownLink
,
thanks to all of you who attended the discussion on the relevant issues,
you are patient and tolerant and provided detailed information for me to work it out.
New:
- Add the following template variables:
{{firstHeading}}
: the headline of the Markdown file,# My Heading
results inMy Heading
for this variable. (#26){{dirName}}
: the directory name of the Markdown file. (#31){{frontmatter:VAR}}
: any variable in the frontmatter, for example,{{frontmatter:noteid}}
results in the value ofnoteid
in the frontmatter. (#21)
- Add new settings option:
dupNumberAlways
. If enabled, duplicate number will always be added to the image name. Otherwise, it will only be added when the name is duplicated. (#27)
Full Changelog: 1.5.2...1.6.0
1.5.2
What's Changed
- Fixed "Handle all attachments" not working for drag'n drop and pasting files, which was actually caused by excludeExtensionPattern matched all extensions when its empty (#10)
- Corrected typo
valut
tovault
seen atHandle all attachments
by @wardoflores in #15
New Contributors
- @wardoflores made their first contribution in #15
Full Changelog: 1.5.1...1.5.2
1.5.1
What's Changed
- fixes date formats messing up everything after it by @saezhe in #18
- Unicode characters in name, resolves #30, #28, #9 by @bessangel in #32
New Contributors
- @saezhe made their first contribution in #18
- @bessangel made their first contribution in #32
Full Changelog: 1.5.0...1.5.1