All files / lib index.d.ts

0% Statements 0/0
0% Branches 0/0
0% Functions 0/0
0% Lines 0/0

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54                                                                                                           
import { type ParsedArgs } from 'minimist';
import { type Options } from 'rehype-document';
import { type RehypeRewriteOptions } from 'rehype-rewrite';
export * from './create.js';
export * from './utils.js';
export interface RunArgvs extends Omit<ParsedArgs, '_'> {
    version?: string;
    source?: string;
    output?: string;
    /** Add a Github corner to your project page. */
    'github-corners'?: string;
    /** Github corners style. */
    'github-corners-fork'?: boolean;
    /** Show corners. @default true */
    'corners'?: boolean;
    /** Disable light and dark theme styles button. */
    'dark-mode'?: boolean | 'auto';
    /** Setting markdown-style light/dark theme. */
    'markdown-style-theme'?: 'dark' | 'light';
    /** Markdown string. */
    markdown?: string;
    /** Markdown wrapper style */
    'markdown-style'?: string;
    /** The `<title>` tag is required in HTML documents! */
    title?: string;
    /** Specify the configuration file. Default: `<process.cwd()>/package.json` */
    config?: string;
    /** Define a description of your web page */
    description?: string;
    /** Define keywords for search engines */
    keywords?: string;
    /** Add a Favicon to your Site */
    favicon?: string;
    /** Define the author of a page */
    author?: string;
    /** Override default styles */
    style?: string;
    /** @example `(node_modules)` */
    ignoreFile?: string;
    /** Convert images in HTML to base64. @default `false` */
    'img-base64'?: boolean;
}
export interface MDToHTMLOptions extends RunArgvs {
    /** [rehype-document](https://github.com/rehypejs/rehype-document#options) options */
    document?: Options;
    /** Rewrite Element. [rehype-rewrite](https://github.com/jaywcjlove/rehype-rewrite#rewritenode-index-parent-void) */
    rewrite?: RehypeRewriteOptions['rewrite'];
    /** rewrite URLs of href and src attributes. */
    reurls?: Record<string, string>;
}
export declare function run(opts?: Omit<RunArgvs, "_">): any;
export declare const cliHelp: string;
export declare const exampleHelp: string;