Skip to content
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

Wrap image caption in text object #45

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

Conversation

vnugent
Copy link

@vnugent vnugent commented Nov 2, 2021

Fixing issue #44

Comment on lines 125 to +126
[imageSourceKey]: node.url,
[imageCaptionKey]: node.alt,
[imageCaptionKey]: [{ text: node.alt }],
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Personally don't like that these two are diverging, I also wonder if this should be a flag or could be more generic so consumers could configure.

Thoughts?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 to making this configurable as per my comment on issue #44, I think that would solve my scenario nicely.

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.

3 participants