Accessing variables from conf.py in .md files (e.g. release) #868
-
I've been using MyST with Sphinx for a few weeks now, and it's fantastic. Up to now, I've been using an edited version of Previously, I use
in
in Is there a way to access variables like |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Not sure if there's a way to use the RST substitions directly, but I think you can enable the MyST "substitions" extension to get similar behavior: |
Beta Was this translation helpful? Give feedback.
-
I think that you have access to a So you can do things like I also believe that @NickleDave's suggestion above would work too! |
Beta Was this translation helpful? Give feedback.
Not sure if there's a way to use the RST substitions directly, but I think you can enable the MyST "substitions" extension to get similar behavior:
https://myst-parser.readthedocs.io/en/latest/syntax/optional.html#substitutions-with-jinja2