Skip to content

feat(settings): Add the option to add random tags after the image#164

Open
mcardZH wants to merge 1 commit intoxRyul:mainfrom
mcardZH:master
Open

feat(settings): Add the option to add random tags after the image#164
mcardZH wants to merge 1 commit intoxRyul:mainfrom
mcardZH:master

Conversation

@mcardZH
Copy link

@mcardZH mcardZH commented Jan 14, 2025

-Added the option to 'add random labels after images' in the settings -When enabled, a randomly generated tag will be added after the image link in the format of {# fig: xxxxxx} -This feature is very helpful for users who use Pandoc-Crossref and obsidian-image-captions

  • it optimizes the processing logic of image links and supports multiple link formats

-Added the option to 'add random labels after images' in the settings
-When enabled, a randomly generated tag will be added after the image link in the format of {# fig: xxxxxx}
-This feature is very helpful for users who use Pandoc-Crossref and obsidian-image-captions
- it optimizes the processing logic of image links and supports multiple link formats
@xRyul
Copy link
Owner

xRyul commented Jan 20, 2025

Hey, many thanks for the PR.

Just to clarify, this seems to modify links only when processing images via modal? e.g. all image in current note or the whole vault?

Did you use some linter? It removed a lot of empty newlines, which means it modified almost all file at almost every single line, which makes reviewing quite challenging.

Could you show some screenshots? Or how link would like before and after? Many thanks 🙏

@xRyul xRyul changed the base branch from master to main September 6, 2025 10:00
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.

2 participants