Added marked v0.2.6

This commit is contained in:
Will Orr
2012-12-26 09:28:01 +01:00
committed by Damiano
parent 22ea294568
commit 665ec76c44
+14
View File
@@ -0,0 +1,14 @@
declare module "marked" {
export function (src: string, opt?: Options): string;
export function lexer(src: string, opt?: Options): Array;
export function parser(src: string, opt?: Options): string;
export function parse(src: string, opt?: Options): string;
export function setOptions(opt: Options): void;
}
interface Options {
gfm?: bool;
pedantic?: bool;
sanitize?: bool;
highlight?: bool;
}