-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.d.ts
More file actions
34 lines (30 loc) · 799 Bytes
/
index.d.ts
File metadata and controls
34 lines (30 loc) · 799 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
export default class CodeGridMarkdown {
constructor(options?: CodeGridMarkdownOptions);
render(md: string): string;
}
/**
* Options for CodeGridMarkdown.
*
* Basically the same as MarkedOptions.
* `renderer` is used internally and cannot be overridden.
*
* See also https://marked.js.org/using_advanced#options
*/
export interface CodeGridMarkdownOptions {
/**
* Enable GFM line breaks. This option requires the gfm option to be true.
*/
breaks?: boolean;
/**
* Enable GitHub flavored markdown.
*/
gfm?: boolean;
/**
* Conform to obscure parts of markdown.pl as much as possible. Don't fix any of the original markdown bugs or poor behavior.
*/
pedantic?: boolean;
/**
* Shows an HTML error message when rendering fails.
*/
silent?: boolean;
}