# Inline variable insertion in markdown

**URL:** <https://discourse.jupyter.org/t/inline-variable-insertion-in-markdown/10525>\
**Category:** Notebook\
**Tags:** notebook, feature-idea, markdown\
**Created:** [August 27, 2021, 5:35pm UTC](https://discourse.jupyter.org/t/inline-variable-insertion-in-markdown/10525 "2021-08-27T17:35:23Z")\
**Posts on this page:** 1\
**Showing post:** 132

<div class="post-metadata">

**Author:** ![agoose77](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/agoose77/32/3455_2.png) [@agoose77](https://discourse.jupyter.org/u/agoose77)\
**Post date:** [September 28, 2021, 2:44pm UTC](https://discourse.jupyter.org/t/inline-variable-insertion-in-markdown/10525/132 "2021-09-28T14:44:27Z")

</div>

This is definitely another way of doing things. I think the downside of moving this into the kernel (via magics) is that we then need to do this for each kernel rather than at the frontend.

This does touch on the idea that it would be nice to be able to provide a fallback, which relates to [Notebook Cell-Type Generaliastion - #7 by agoose77](https://discourse.jupyter.org/t/notebook-cell-type-generaliastion/10703/7). I’d like to be able to specify a `text/markdown` fallback which removes the injection markup, i.e. `what is {{ x }}?` → `what is &#9888;?`

---

_[View the full topic](https://discourse.jupyter.org/t/inline-variable-insertion-in-markdown/10525)._
