Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add value from environment variable #58

Open
mibutec opened this issue Nov 19, 2021 · 0 comments
Open

Add value from environment variable #58

mibutec opened this issue Nov 19, 2021 · 0 comments

Comments

@mibutec
Copy link

mibutec commented Nov 19, 2021

I want to add automatic generated values from build process into my MD files (i.e. versions determined while build) without the need to implement an own extension. Referencing those values i.e. as

<!-- AUTO-GENERATED-CONTENT:START (ENV:name=myFooVariable) -->
<!-- AUTO-GENERATED-CONTENT:END -->

would allow me to add variable like

myFooVariable=42 md-magic --path './**/*.md'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant