# How to link to Github issues/PRs in Discourse?

**URL:** <https://discourse.julialang.org/t/how-to-link-to-github-issues-prs-in-discourse/445>\
**Category:** Meta Discussion\
**Tags:** question\
**Created:** [November 20, 2016, 8:43am UTC](https://discourse.julialang.org/t/how-to-link-to-github-issues-prs-in-discourse/445 "2016-11-20T08:43:04Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [November 20, 2016, 8:43am UTC](https://discourse.julialang.org/t/how-to-link-to-github-issues-prs-in-discourse/445/1 "2016-11-20T08:43:04Z")

</div>

I have seen comments that feature a little box that includes the summary of an issue/PR on Github. Is there some special Discourse syntax for this?

---

<div class="post-metadata">

**Author:** ![johansigfrids](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/johansigfrids/32/3590_2.png) [@johansigfrids](https://discourse.julialang.org/u/johansigfrids)\
**Post date:** [November 20, 2016, 9:53am UTC](https://discourse.julialang.org/t/how-to-link-to-github-issues-prs-in-discourse/445/2 "2016-11-20T09:53:33Z")

</div>

Just include the link. Discourse will automatically fetch a preview and display it.

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [November 20, 2016, 10:32am UTC](https://discourse.julialang.org/t/how-to-link-to-github-issues-prs-in-discourse/445/3 "2016-11-20T10:32:47Z")

</div>

I am not sure it does that — I have a link [here](https://discourse.julialang.org/t/help-with-macro/429/5) and Discourse did not do anything automatically.

---

<div class="post-metadata">

**Author:** ![johansigfrids](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/johansigfrids/32/3590_2.png) [@johansigfrids](https://discourse.julialang.org/u/johansigfrids)\
**Post date:** [November 20, 2016, 10:37am UTC](https://discourse.julialang.org/t/how-to-link-to-github-issues-prs-in-discourse/445/4 "2016-11-20T10:37:00Z")

</div>

If I include a link here it seems to work fine:

[https://github.com/JuliaLang/julia/pull/16961](https://github.com/JuliaLang/julia/pull/16961)

EDIT: [Test](https://github.com/JuliaLang/julia/pull/16961)

EDIT2: Seems to include the summary if you post the plain link, but if you make a link text then it doesn’t.

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [November 20, 2016, 10:58am UTC](https://discourse.julialang.org/t/how-to-link-to-github-issues-prs-in-discourse/445/5 "2016-11-20T10:58:47Z")

</div>

Thanks. So are these features documented somewhere, or do we find out by trial and error (or reading the Discourse sources)?

Looking on the Discourse site, I found documentation of the comment format, which talks about CommonMark and BBCode but does not mention these features.

---

<div class="post-metadata">

**Author:** ![johansigfrids](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/johansigfrids/32/3590_2.png) [@johansigfrids](https://discourse.julialang.org/u/johansigfrids)\
**Post date:** [November 20, 2016, 11:02am UTC](https://discourse.julialang.org/t/how-to-link-to-github-issues-prs-in-discourse/445/6 "2016-11-20T11:02:54Z")

</div>

I’ve been discovering them by just stumbling over them mostly.

---

<div class="post-metadata">

**Author:** ![StefanKarpinski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stefankarpinski/32/24_2.png) [@StefanKarpinski](https://discourse.julialang.org/u/StefanKarpinski)\
**Post date:** [November 20, 2016, 11:16am UTC](https://discourse.julialang.org/t/how-to-link-to-github-issues-prs-in-discourse/445/7 "2016-11-20T11:16:53Z")

</div>

This only happens if the link is on a line by itself. This feature is called a “[onebox](https://meta.discourse.org/t/quickly-explain-what-onebox-is/28114)”.

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [November 20, 2016, 12:10pm UTC](https://discourse.julialang.org/t/how-to-link-to-github-issues-prs-in-discourse/445/8 "2016-11-20T12:10:30Z")

</div>

Thanks. Would it be possible to have a “documentation” button somewhere on the page, that describes the comment syntax (mostly CommonMark) and features like this which you enabled for the site?
