@mdfriday/foundry
Version:
The core engine of MDFriday. Convert Markdown and shortcodes into fully themed static sites – Hugo-style, powered by TypeScript.
14 lines • 433 B
TypeScript
/**
* Sanitize a string for use in URLs
*/
export declare function sanitize(input: string): string;
/**
* Add context root to a path
*/
export declare function addContextRoot(root: string, path: string): string;
/**
* Create a permalink by joining base URL and path
*/
export declare function makePermalink(baseURL: string, path: string): URL;
export declare function dir(s: string): string;
//# sourceMappingURL=index.d.ts.map