9

Is it possible to call bits of python inside a markdown cell? For example I might like to write

Above there is a plot of {{numVars}} variables

In a markdown cell, so that when I change something elsewhere I don't need to go back and update the descriptive text of things.

It needn't be statements, although that would be useful (len(x) + 5), variables would be enough to make a big difference!

Ben
  • 10,992
  • 3
  • 29
  • 62
  • 1
    This is a duplicate of http://stackoverflow.com/q/21364102/2870069 and http://stackoverflow.com/q/18878083/2870069 – Jakob Feb 16 '14 at 07:52
  • The current state of this issue can be read about [here](https://github.com/ipython/ipython/issues/2958#issuecomment-36393701) – Ben Mar 01 '14 at 02:10

0 Answers0