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

[FEATURE] Support directive image with target #914

Merged
merged 1 commit into from
Mar 9, 2024
Merged

Conversation

linawolf
Copy link
Contributor

@linawolf linawolf commented Mar 9, 2024

resolves #911

@jaapio
Copy link
Member

jaapio commented Mar 9, 2024

Would it not make more sense rather than having a image with a link to wrap the image in a hyperlink when the target is defined? This would allow you to reuse such hyperlinknode, and apply it to other situations. And it would also allow compiler passes to remove the target more easily.

@linawolf
Copy link
Contributor Author

linawolf commented Mar 9, 2024

The InlineLinkNodes only accept text as content

@jaapio jaapio enabled auto-merge March 9, 2024 13:59
@jaapio jaapio merged commit a39e808 into main Mar 9, 2024
38 checks passed
@jaapio jaapio deleted the feature/image-target branch March 9, 2024 14:01
@phpdoc-bot
Copy link

💚 All backports created successfully

Status Branch Result
1.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

phpdoc-bot added a commit that referenced this pull request Mar 9, 2024
[1.x] Merge pull request #914 from phpDocumentor/feature/image-target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Render target property for image directive
3 participants