Execute command and Replace the placeholder by stdout.
- Input
<<EXEC echo abc>>- Output
abc-
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.env -
paths: {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