Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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 🙏

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