@stacksjs/stx
Version:
A performant UI Framework. Powered by Bun.
10 lines • 467 B
TypeScript
/**
* Process markdown directives in templates
* Converts markdown content to HTML
*/
export declare function processMarkdownDirectives(template: string, context: Record<string, any>, filePath?: string): Promise<string>;
/**
* Custom directive handler for markdown
* Can be registered as a custom directive
*/
export declare function markdownDirectiveHandler(content: string, params: string[], _context: Record<string, any>, _filePath: string): Promise<string>;