Skip to content

inline evaluation of python variables in markdown? #9

@jgunstone

Description

@jgunstone

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:

  • my application is aimed at less tech-savvy users who like WYSISYG - lack of rendering in the authoring tool is confusing to them
image - I'd like to be able to create inline expressions, which isn't possible. e.g. image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions