UNPKG

@mdfriday/foundry

Version:

The core engine of MDFriday. Convert Markdown and shortcodes into fully themed static sites – Hugo-style, powered by TypeScript.

20 lines 570 B
import { Items } from "../../../../pkg/md/parser/item"; import { Config } from "../../../../pkg/md/parser/pagelexer"; /** * Parse bytes into items */ export declare function parseBytes(input: Uint8Array, config?: Config): Items; /** * Create position from input and offset */ export declare function posFromInput(filename: string, input: string | Uint8Array, offset: number): Position; /** * Position interface */ export interface Position { filename: string; line: number; column: number; offset: number; } //# sourceMappingURL=pageparser.d.ts.map