Archived
feat(plugins): add bundled relays workspace panel plugin
This commit is contained in:
+28
@@ -0,0 +1,28 @@
|
||||
/**
|
||||
* Minimal declarations for the vendored marked ESM build (./marked.esm.js).
|
||||
* Covers only the surface markdownDocument.ts uses; widen it if usage grows.
|
||||
* The plugin build copies the .js verbatim and skips this file, so these
|
||||
* declarations exist for tsc and editor tooling only.
|
||||
*/
|
||||
|
||||
export interface MarkedHtmlToken {
|
||||
text: string;
|
||||
}
|
||||
|
||||
export interface MarkedRenderer {
|
||||
html: (token: MarkedHtmlToken) => string;
|
||||
}
|
||||
|
||||
export interface MarkedParseOptions {
|
||||
async?: false;
|
||||
breaks?: boolean;
|
||||
gfm?: boolean;
|
||||
renderer?: MarkedRenderer;
|
||||
}
|
||||
|
||||
export interface Marked {
|
||||
Renderer: new () => MarkedRenderer;
|
||||
parse(source: string, options?: MarkedParseOptions): string;
|
||||
}
|
||||
|
||||
export const marked: Marked;
|
||||
Reference in New Issue
Block a user