Migrate to djot
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Isaac Mills 2025-07-16 11:45:32 -06:00
parent c0324c0bc2
commit cbfa885984
Signed by: fnmain
GPG key ID: B67D7410F33A0F61
42 changed files with 3701 additions and 547 deletions

32
posthtml-djot/lib/index.d.ts vendored Normal file
View file

@ -0,0 +1,32 @@
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;
};