ironmark 1.1.13 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/wasm/index.d.ts +9 -0
- package/wasm/node.js +1 -1
- package/wasm/pkg/ironmark.d.ts +2 -0
- package/wasm/pkg/ironmark.js +1 -1
- package/wasm/pkg/ironmark_bg.js +30 -0
- package/wasm/pkg/ironmark_bg.wasm +0 -0
- package/wasm/pkg/ironmark_bg.wasm.d.ts +1 -0
- package/wasm/shared.js +20 -10
- package/wasm/web.js +7 -2
package/package.json
CHANGED
package/wasm/index.d.ts
CHANGED
|
@@ -42,3 +42,12 @@ export declare function init(input?: string | URL | WebAssembly.Module): Promise
|
|
|
42
42
|
* @returns HTML string.
|
|
43
43
|
*/
|
|
44
44
|
export declare function parse(markdown: MarkdownInput, options?: ParseOptions): string;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Parse Markdown and return the block-level AST as a JSON string.
|
|
48
|
+
*
|
|
49
|
+
* @param markdown - Markdown source (string or binary).
|
|
50
|
+
* @param options - Optional parsing options.
|
|
51
|
+
* @returns JSON string representing the AST.
|
|
52
|
+
*/
|
|
53
|
+
export declare function parseToAst(markdown: MarkdownInput, options?: ParseOptions): string;
|