0.0.0 • Published 8 years ago
picidae-transformer-exec v0.0.0
picidae-transformer-exec
Execute command and Replace the placeholder by stdout.
- Input
<<EXEC echo abc>>- Output
abcOptions
cache {boolean} (default:
true)
cache the latest stdout. If you don't edit the markdown with<<EXEC ...>>, the content is from cache.env: {Object} (default:
{})
The additional env, likeprocess.envpaths: {array} (default:
[])
same as$PATH, and it would appends thenode_modules/.binto$PATHautomatically.cwd: {string} (default:
'curr')curr:process.cwd()file: the markdown file's dirnamepath/to/cwd: The exact cwd
0.0.0
8 years ago