All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.dist.preprocess.d.ts Maven / Gradle / Ivy

Go to download

Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.

There is a newer version: 11.4.0
Show newest version
import type { DiagramMetadata } from './diagram-api/types.js';
/**
 * Preprocess the given code by cleaning it up, extracting front matter and directives,
 * cleaning and merging configuration, and removing comments.
 * @param code - The code to preprocess.
 * @returns The object containing the preprocessed code, title, and configuration.
 */
export declare function preprocessDiagram(code: string): DiagramMetadata & {
    code: string;
};




© 2015 - 2024 Weber Informatics LLC | Privacy Policy