thesandwi.ch/posthtml-djot/lib/index.d.ts
Isaac Mills cbfa885984
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Migrate to djot
2025-07-16 11:45:32 -06:00

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;
};