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