# Decorating all external links

**URL:** <https://meta.discourse.org/t/decorating-all-external-links/53111>\
**Category:** Development\
**Created:** [November 19, 2016, 12:01pm UTC](https://meta.discourse.org/t/decorating-all-external-links/53111 "2016-11-19T12:01:31Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Overgrow](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/overgrow/32/478189_2.png) [@Overgrow](https://meta.discourse.org/u/Overgrow)\
**Post date:** [November 19, 2016, 12:01pm UTC](https://meta.discourse.org/t/decorating-all-external-links/53111/1 "2016-11-19T12:01:31Z")

</div>

Hello,  
I’d like to mark external links (links except from own domain) with an arrow through css.. Do I need to modify all es6 functions that parse links or is there simple way?

`if (DiscourseURL.isInternal(href))`

Also I’m not sure if this is definitive list of sources where links are parsed and styled

```
_showLinkCounts() in /app/assets/javascripts/discourse/widgets/post-cooked.js.es6
linkHtml(link) in app/assets/javascripts/discourse/widgets/post-links.js.es6 
html(attrs, state) in /app/assets/javascripts/discourse/widgets/topic-map.js.es6

```

Thanks in advance!

---

_[View the full topic](https://meta.discourse.org/t/decorating-all-external-links/53111)._
