mdBook icon indicating copy to clipboard operation
mdBook copied to clipboard

Allow environment variables to be evaluated by the preprocessor

Open kumavale opened this issue 2 years ago • 1 comments

Fixes #2040

Evaluate some environment variables ($ENV_VARS) in the script's path. Strings surrounded by % and % are treated as environment variables for Windows, and strings starting with $ are treated as environment variables for Linux. Does nothing if the environment variable is not found.

kumavale avatar Mar 08 '23 13:03 kumavale

Is there anyone who can review this small change? It's a real deal breaker for us 😔 @ehuss

slmgc avatar May 09 '23 20:05 slmgc