mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 19:07:08 +00:00
- definition file - tests https://www.npmjs.com/package/runmd https://github.com/broofa/runmd Thanks!
26 lines
620 B
TypeScript
26 lines
620 B
TypeScript
// Type definitions for runmd 1.3
|
|
// Project: https://github.com/broofa/runmd
|
|
// Definitions by: Piotr Błażejewicz <https://github.com/peterblazejewicz>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
/**
|
|
* Render RunMD-compatible markdown file
|
|
* @param inputText - text to transform
|
|
*/
|
|
export function render(inputText: string, options?: Options): string;
|
|
|
|
export interface Options {
|
|
/**
|
|
* name of input file
|
|
*/
|
|
inputName?: string;
|
|
/**
|
|
* name of output file
|
|
*/
|
|
outputName?: string;
|
|
/**
|
|
* if true, disables RunMD footer
|
|
*/
|
|
lame?: boolean;
|
|
}
|