prettier-plugin-marko
Version:
A prettier plugin for parsing and printing Marko files
4 lines (3 loc) • 344 B
TypeScript
import { type AstPath, type Doc, doc, type Options } from "prettier";
import { type Node } from "../parser";
export declare function getFormattedBody(tag: AstPath<Node.Tag>, parser: Options["parser"] | false, toDoc: (text: string, options: Options) => Promise<Doc>, print: (selector: AstPath) => Doc, opts: Options): Promise<doc.builders.Doc>;