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

Unable to add icons to external links #7007

Closed
hexWars opened this issue Feb 24, 2024 · 2 comments
Closed

Unable to add icons to external links #7007

hexWars opened this issue Feb 24, 2024 · 2 comments

Comments

@hexWars
Copy link
Contributor

hexWars commented Feb 24, 2024

📋 Explain your issue

Unfortunately, following the tutorial at https://docs.astro.build/en/recipes/external-links/, icons for external links are not displaying as expected. After reviewing #2970, I still don't understand where the issue lies. Does Astro automatically detect external links, and it seems like the rehype in Astro 4 has been upgraded; is the tutorial outdated?

Astro                    v4.4.0
Node                     v18.18.0
System                   Linux (x64)
Package Manager          npm
Output                   static
Adapter                  none
Integrations             @astrojs/react
                         @astrojs/tailwind

The format I use for external links is []()

@hexWars
Copy link
Contributor Author

hexWars commented Feb 27, 2024

Oh, I think I know the reason now. It seems to conflict with tailwindcss/typography. I will close this issue.

@hexWars hexWars closed this as completed Feb 27, 2024
@hexWars
Copy link
Contributor Author

hexWars commented Feb 27, 2024

Perhaps you can include a hint in the document?

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

No branches or pull requests

1 participant