# Interpolate variables in markdown in Documenter.jl

**URL:** https://discourse.julialang.org/t/interpolate-variables-in-markdown-in-documenter-jl/60726
**Category:** General Usage
**Tags:** documentation, documenter, markdown
**Created:** [May 7, 2021, 3:11pm UTC](https://discourse.julialang.org/t/interpolate-variables-in-markdown-in-documenter-jl/60726 "2021-05-07T15:11:44Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![lmiq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lmiq/32/18314_2.png) [@lmiq](https://discourse.julialang.org/u/lmiq)
#### Post date: [May 7, 2021, 3:11pm UTC](https://discourse.julialang.org/t/interpolate-variables-in-markdown-in-documenter-jl/60726/1 "2021-05-07T15:11:44Z")

</div>

Is it possible to interpolate a variable (such as a url name) in the doc pages?

For example, I want to set:

```julia
my_page = "http://url.to.my.page.org"

```

and then, in the Documenter Markdown files, do:

```markdown
[MyPage]($my_page)

```

or something similar, to get the link working there.

---

<div class="post-metadata">

### Author: ![mortenpi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mortenpi/32/158_2.png) [@mortenpi](https://discourse.julialang.org/u/mortenpi)
#### Post date: [June 29, 2021, 8:04am UTC](https://discourse.julialang.org/t/interpolate-variables-in-markdown-in-documenter-jl/60726/2 "2021-06-29T08:04:08Z")

</div>

Not at the moment, but there are a couple of related issues:

- [[Feature Request] Allow use of reference links in Markdown · Issue #1373 · JuliaDocs/Documenter.jl · GitHub](https://github.com/JuliaDocs/Documenter.jl/issues/1373)
- [@url by aminya · Pull Request #1351 · JuliaDocs/Documenter.jl · GitHub](https://github.com/JuliaDocs/Documenter.jl/pull/1351)
