Skip to content

Releases: reorx/obsidian-paste-image-rename

1.6.1

30 Jan 09:08
Compare
Choose a tag to compare

What's Changed

  • Fix "Always add duplicate number" option not working (#34)
  • fix typo: Alwasy to Always by @omeiirr in #36

New Contributors

Full Changelog: 1.6.0...1.6.1

1.6.0

28 Jan 14:30
Compare
Choose a tag to compare

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 API FileManager.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 in My 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 of noteid 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

27 Jan 16:18
Compare
Choose a tag to compare

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 to vault seen at Handle all attachments by @wardoflores in #15

New Contributors

Full Changelog: 1.5.1...1.5.2

1.5.1

27 Jan 15:06
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.5.0...1.5.1

1.5.0

12 May 16:26
Compare
Choose a tag to compare

New features:

  • add batch rename all images command

Fixes:

  • always ignore markdown file creation
  • enhance replace current line strategy

1.4.0

08 May 17:47
Compare
Choose a tag to compare
  • support handling all attachments, add an option to exclude files by extension

1.3.1

08 May 17:19
Compare
Choose a tag to compare
  • Add option to disable rename notice

1.3.0

08 May 17:04
Compare
Choose a tag to compare
  • Add batch renaming feature

1.2.2

19 Apr 02:00
Compare
Choose a tag to compare
  • use generateMarkdownLink to generate markdown links (d1095f6)
  • escape user input string before constructing RegExp (48239de)

1.2.1

18 Apr 16:16
Compare
Choose a tag to compare
  • Replace markdown links if useMarkdownLinks is enabled
  • Sanitize new name input and delimiter setting
  • Stop relying on nodejs path module
  • Fix potential memory leak of modals references