@eagleoutice/flowr
Version:
Static Dataflow Analyzer and Program Slicer for the R Programming Language
10 lines (9 loc) • 480 B
TypeScript
export declare function escapeMarkdown(text: string): string;
export declare function escapeId(text: string | number): string;
/**
* Converts mermaid code (potentially produced by {@link graphToMermaid}) to an url that presents the graph in the mermaid editor.
*
* @param code - code to convert
* @param edit - if true, the url will point to the editor, otherwise it will point to the viewer
*/
export declare function mermaidCodeToUrl(code: string, edit?: boolean): string;