markdown-magic icon indicating copy to clipboard operation
markdown-magic copied to clipboard

Add value from environment variable

Open mibutec opened this issue 4 years ago • 0 comments

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'

mibutec avatar Nov 19 '21 13:11 mibutec