@marp-team/marp-cli
Version:
A CLI interface for Marp and Marpit based converters
10 lines (9 loc) • 394 B
TypeScript
import { Marpit } from '@marp-team/marpit';
import type MarkdownIt from 'markdown-it';
type Token = ReturnType<MarkdownIt['parse']>[number];
export declare const keywordsAsArray: (keywords: unknown) => string[] | undefined;
export declare const detectTitle: (tokens: Token[]) => string | undefined;
export default function metaPlugin(md: MarkdownIt & {
marpit: Marpit;
}): void;
export {};