I'm working on Jupyter Notebooks and I'd like to write the value of a Python string variable into a Markdown heading. I'm well aware that one can write, in a Markdown cell,
# Python
a = 'hello'
In a markdown cell, a is {{a}}
and this works for me, but I'm trying to do something like
# This is a heading with {{a}} in it
But the last attempt didn't work. I googled a little bit, but I couldn't find anything. Any help will be appreciated. Thanks in advance!