This commit is contained in:
parent
4b35583782
commit
e77051ccc4
1987 changed files with 1147290 additions and 5648 deletions
10
themes/blowfish/assets/lib/mermaid/preprocess.d.ts
vendored
Normal file
10
themes/blowfish/assets/lib/mermaid/preprocess.d.ts
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
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;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue