UNPKG

markmac

Version:

> Markdown macros - embed program outputs in markdown

7 lines (6 loc) 297 B
/// <reference types="node" /> /** * Reads markdown with `<!-- <macro exec="COMMAND"> -->` annotations from * `input`, expands it by executing `COMMAND` and writes to `output`. */ export declare function markmac(input?: NodeJS.ReadableStream, output?: NodeJS.WritableStream): Promise<unknown>;