UNPKG

md-toy-blog

Version:

Very simple Markdown blog: serves your md as html without fancy databases. You will only spend time writing the actual data.

7 lines 457 B
export default function getPostPreviewShortener({ previewLength }: { previewLength: number; }): (data: FmDataInterface) => FmDataInterface; export declare const removeMdCodeBlocks: (mdText: string) => string; export declare const textToLinesArray: (text: string) => RegExpMatchArray | null; export declare const getFirstLineOrDefault: (preg: RegExpMatchArray | null, defaultText?: string) => string; //# sourceMappingURL=getPostPreviewShortener.d.ts.map