quarto-dev / jupyterlab-quarto

Quarto JupyterLab Extension
BSD 3-Clause "New" or "Revised" License
16 stars 1 forks source link

inline evaluation of python variables in markdown? #9

Open jgunstone opened 3 weeks ago

jgunstone commented 3 weeks ago

it would be awesome to be able to do something like this:

# python cell
x = "apples"

some **markdown** text with {eval}`x`

renders as: some markdown text with apples

ideally similar syntax to quarto-equations.

this is currently supported in mystmd - though there is lots of awesome quarto functionality I require for my project.

I did look at quarto-embed to provide this functionality, the issues I had were:

thanks for the awesome tool - the more I use quarto the more I love it!