Comparing version 0.0.5 to 0.0.6
@@ -343,3 +343,3 @@ // Type definitions for Ezal 0.0.3 | ||
*/ | ||
export function setMarkedExtension(markedExtensions: import('marked').marked.TokenizerAndRendererExtension[]):void | ||
export function setMarkedExtension(markedExtensions: import('marked').marked.MarkedExtension):void | ||
} |
{ | ||
"name": "ezal", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./dist/main.js", |
@@ -36,6 +36,4 @@ type Page = import('./page').Page; | ||
}; | ||
ezalModule.setMarkedExtension = function(markedExtensions: marked.TokenizerAndRendererExtension[]){ | ||
marked.use({ | ||
extensions: markedExtensions, | ||
}); | ||
ezalModule.setMarkedExtension = function(markedExtensions: marked.MarkedExtension){ | ||
marked.use(markedExtensions); | ||
}; | ||
@@ -42,0 +40,0 @@ ezalModule.render.markdown = function(source: string){ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
179890
2789