we can programmatically be able to pull markdown from the current notebook and rewrite `{{expressions}} with the context (saving the original text in metadata):
from IPython.display import display, Markdown, Latex
display(Markdown('*some markdown* $\phi$ [[nutrition]]'))
# If you particularly want to display maths, this is more direct:
display(Latex('\phi'))
One massive problem with this would be that going back to editing it would break.
Probably the best way to do it is a reactive wrapper for python symbols and a variable substitution parser on the client that requests the variable from the kernel
we can programmatically be able to pull markdown from the current notebook and rewrite
`{{expressions}}
with the context (saving the original text in metadata):One massive problem with this would be that going back to editing it would break.
Probably the best way to do it is a reactive wrapper for python symbols and a variable substitution parser on the client that requests the variable from the kernel