mark external links in prose

This commit is contained in:
inhji 2023-06-28 10:48:27 +02:00
parent e59319c22e
commit 0e55626a56

View file

@ -82,6 +82,10 @@
@apply underline decoration-2 decoration-theme-primary hover:bg-theme-primary hover:text-theme-background transition; @apply underline decoration-2 decoration-theme-primary hover:bg-theme-primary hover:text-theme-background transition;
} }
.prose a[href^="http://"], .prose a[href^="https://"] {
@apply after:content-['_↗']
}
.prose em { .prose em {
@apply text-theme-quaternary; @apply text-theme-quaternary;
} }