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

fix(markdown): external icon for target _blank #2070

Merged
merged 2 commits into from
Feb 22, 2024

Conversation

owilliams320
Copy link
Collaborator

@owilliams320 owilliams320 commented Nov 6, 2023

Description

closes #2063

Adding external link icon for links in markdown parsers that use target="_blank"

Test Steps

  • npm run start
  • then open the docs in browser
  • finally look at any documentation file that external links and verify the icon is there

General Tests for Every PR

  • npm run start still works.
  • npm run lint passes.
  • npm run stylelint passes.
  • npm test passes and code coverage is not lower.
  • npm run build still works.
Screenshots or link to StackBlitz/Plunker

Screenshot 2023-11-06 at 11 01 06 AM

@owilliams320 owilliams320 force-pushed the fix/markdown-external-links branch from 3a1a254 to 75330b8 Compare November 6, 2023 16:25
@adamnel
Copy link
Collaborator

adamnel commented Nov 8, 2023

Need to remove the underline from the icon on hover:

image

Otherwise looks good - text is wrapping above and below without the icon pushing the line-height wider on rows where it's present, which was my biggest concern.

@owilliams320 owilliams320 force-pushed the fix/markdown-external-links branch from 75330b8 to d434274 Compare February 22, 2024 17:31
@owilliams320 owilliams320 requested a review from adamnel February 22, 2024 17:38
@owilliams320 owilliams320 merged commit 13280fc into main Feb 22, 2024
6 checks passed
@owilliams320 owilliams320 deleted the fix/markdown-external-links branch February 22, 2024 18:05
@owilliams320
Copy link
Collaborator Author

🎉 This PR is included in version 8.3.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

External links should use the external link icons, by default
2 participants