All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
32 lines
544 B
TypeScript
32 lines
544 B
TypeScript
import type { ParseOptions } from '@djot/djot/types/parse';
|
|
import type { HTMLRenderOptions } from '@djot/djot/types/html';
|
|
|
|
export type DjotConfig = {
|
|
/**
|
|
Path relative to which markdown files are imported.
|
|
|
|
@default './'
|
|
*/
|
|
root?: string;
|
|
|
|
/**
|
|
Encoding for imported Markdown files.
|
|
|
|
@default 'utf8'
|
|
*/
|
|
encoding?: string;
|
|
|
|
/**
|
|
Options to pass to the `djot` library.
|
|
|
|
@default {}
|
|
*/
|
|
djot?: ParseOptions;
|
|
|
|
/**
|
|
Options to pass to the `djot` HTML renderer.
|
|
|
|
@default {}
|
|
*/
|
|
djot_html?: HTMLRenderOptions;
|
|
};
|