# RichText links do not render

**URL:** <https://community.prismic.io/t/richtext-links-do-not-render/2338>\
**Category:** Developing with Prismic\
**Tags:** gatsby\
**Created:** [October 19, 2020, 7:17am UTC](https://community.prismic.io/t/richtext-links-do-not-render/2338 "2020-10-19T07:17:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anton](https://avatars.discourse-cdn.com/v4/letter/a/d9b06d/32.png) [@anton](https://community.prismic.io/u/anton)\
**Post date:** [October 19, 2020, 7:17am UTC](https://community.prismic.io/t/richtext-links-do-not-render/2338/1 "2020-10-19T07:17:41Z")

</div>

Hi,

I got a quote slice where I am rendering the RichText like this:  
`<RichText render={quote_body} />`

The content contains some links. I am able to console log them, yet they are simply not being rendered.

![Screenshot 2020-10-19 at 09.16.13](https://europe1.discourse-cdn.com/flex013/uploads/prismic/original/2X/a/a09457141012babea1b1ab3cef6ede3392da0bbd.png)

 ![Screenshot 2020-10-19 at 09.15.03](https://europe1.discourse-cdn.com/flex013/uploads/prismic/original/2X/e/e7191138b1428dca90746fdf3b6235b10bc38c00.png)

The link resolver looks like this:  
doc?.type === "service") return `/services/${doc?.uid}`

Any tips on how I could debug this?

---

<div class="post-metadata">

**Author:** ![samlittlefair](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/samlittlefair/32/696_2.png) [@samlittlefair](https://community.prismic.io/u/samlittlefair)\
**Post date:** [October 19, 2020, 9:34am UTC](https://community.prismic.io/t/richtext-links-do-not-render/2338/3 "2020-10-19T09:34:37Z")

</div>

Hey Anton,

Thanks for posting 😊

For a start, try importing your Link Resolver and including it in your Rich Text component, like this:

```auto
    <RichText
      render={quote_body}
      linkResolver={linkResolver}
    />

```

If that doesn't work, could you send me one [GitHub Gist](https://gist.github.com/) with the contents of your quote slice component file and another with the contents of your link resolver file? And also your repo name? (If you don't want to share any of that info publicly, you can send it in a DM.)

For more information on rendering links in Rich Text, you can see the Gatsby documentation for templating [Rich Text](https://prismic.io/docs/gatsby/rendering/rendering-the-rich-text-or-title-field) and using a [Link Resolver](https://prismic.io/docs/gatsby/misc-topics/link-resolving).

Thanks,  
Sam

---

<div class="post-metadata">

**Author:** ![anton](https://avatars.discourse-cdn.com/v4/letter/a/d9b06d/32.png) [@anton](https://community.prismic.io/u/anton)\
**Post date:** [October 20, 2020, 12:37pm UTC](https://community.prismic.io/t/richtext-links-do-not-render/2338/4 "2020-10-20T12:37:03Z")

</div>

It works like a charm, thanks a bunch! 🤘

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/system/32/1746_2.png) [@system](https://community.prismic.io/u/system)\
**Post date:** [October 21, 2020, 12:37pm UTC](https://community.prismic.io/t/richtext-links-do-not-render/2338/5 "2020-10-21T12:37:06Z")

</div>

closed on October 21, 2020, 12:37pm UTC as resolved,  flag & select 'Something Else' to reopen.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/system/32/1746_2.png) [@system](https://community.prismic.io/u/system)\
**Post date:** [December 9, 2021, 5:15pm UTC](https://community.prismic.io/t/richtext-links-do-not-render/2338/6 "2021-12-09T17:15:12Z")

</div>

Opened on December 9, 2021, 5:15pm UTC


