Variable Substitution for inline code and code-blocks #3978
dmitriybabenko
started this conversation in
RFCs/Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
One of the possible use-cases for Dendron is generating adaptive documentation for some system/app/tool/etc. - or even more specific, to onboard new teammates to the projects. For example, I may want to provide people with detailed shell commands, code snippets, based on the information they fill in the frontmatter section.
Currently, if you have
{{ fm.variable }}
inside the inline code or code-block, it's values is not expanded on the rendered view.Ideally, it'd be cool to have a way to use frontmatter variable substitution inside the code blocks - it may be a different syntax if there are any technical challenges (escaping?)
Beta Was this translation helpful? Give feedback.
All reactions