UNPKG

@mdfriday/foundry

Version:

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

11 lines (10 loc) 395 B
import { Items } from "@pkg/md/parser/item"; import { Config } from "@pkg/md/parser/pagelexer"; export declare function parseBytes(input: Uint8Array, config?: Config): Items; export declare function posFromInput(filename: string, input: string | Uint8Array, offset: number): Position; export interface Position { filename: string; line: number; column: number; offset: number; }