# Get external links to work both in REPL and Documenter.jl

**URL:** https://discourse.julialang.org/t/get-external-links-to-work-both-in-repl-and-documenter-jl/113737
**Category:** General Usage
**Tags:** documenter
**Created:** [May 2, 2024, 1:22pm UTC](https://discourse.julialang.org/t/get-external-links-to-work-both-in-repl-and-documenter-jl/113737 "2024-05-02T13:22:50Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![araujoms](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/araujoms/32/217734_2.png) [@araujoms](https://discourse.julialang.org/u/araujoms)
#### Post date: [May 2, 2024, 1:22pm UTC](https://discourse.julialang.org/t/get-external-links-to-work-both-in-repl-and-documenter-jl/113737/1 "2024-05-02T13:22:50Z")

</div>

I can’t get a decent formatting for external links that work in both at the same time. If I put the bare URL in the docstring, like

```julia
"""
    foo(x)

Reference: https://arxiv.org/abs/1902.04751
"""

```

I get a clickable link when calling `?foo` in the REPL, but just text in the documentation generated by Documenter. On the other hand, if I use markdown syntax, like

```julia
"""
    foo(x)

Reference: [arXiv:1902.04751](https://arxiv.org/abs/1902.04751)
"""

```

I get `arXiv:1902.04751 (https://arxiv.org/abs/1902.04751)` in the REPL, which just looks stupid, and the proper link [arXiv:1902.04751](https://arxiv.org/abs/1902.04751) in the generated documentation.

Is it possible to get both to work simultaneously? I would rather have the proper link working in both cases, but if the bare URL works that’s good enough.
