# Referenced variables in markdown do not appear when exporting to other format like HTML

**URL:** <https://discourse.jupyter.org/t/referenced-variables-in-markdown-do-not-appear-when-exporting-to-other-format-like-html/8218>\
**Category:** nbconvert\
**Tags:** help-wanted\
**Created:** [March 5, 2021, 8:57pm UTC](https://discourse.jupyter.org/t/referenced-variables-in-markdown-do-not-appear-when-exporting-to-other-format-like-html/8218 "2021-03-05T20:57:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bvb092](https://avatars.discourse-cdn.com/v4/letter/b/f0a364/32.png) [@Bvb092](https://discourse.jupyter.org/u/Bvb092)\
**Post date:** [March 5, 2021, 8:57pm UTC](https://discourse.jupyter.org/t/referenced-variables-in-markdown-do-not-appear-when-exporting-to-other-format-like-html/8218/1 "2021-03-05T20:57:28Z")

</div>

Dear all

I have created a jupyter notebook and now tried to export it to other formats like HTML. My problem is that I have markdown cells with references to variables (with {{}}). When I export it does variable values do not appear. I tried almost everything for hours without any success. I found the following amongst others:

> <https://stackoverflow.com/questions/52450480/python-markdown-code-not-compiling-in-output>

But still I can not manage to do it. Could somebody give me an easy step-by-step explanation what I need to do?

Thanks a lot,  
Matthias

---

<div class="post-metadata">

**Author:** ![lethargo](https://avatars.discourse-cdn.com/v4/letter/l/858c86/32.png) [@lethargo](https://discourse.jupyter.org/u/lethargo)\
**Post date:** [February 21, 2026, 11:01pm UTC](https://discourse.jupyter.org/t/referenced-variables-in-markdown-do-not-appear-when-exporting-to-other-format-like-html/8218/2 "2026-02-21T23:01:25Z")

</div>

This may be too late to help Matthias, but if anyone else is using the python-markdown extension successfully interactively, but having problems exporting the values in markdown cells, there is a small section on [Export](https://jupyter-contrib-nbextensions.readthedocs.io/en/latest/nbextensions/python-markdown/readme.html#exporting) specifically in the python-markdown docs.
