@illusions-lab/mdi 2.0.13 → 2.0.14
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/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -231,7 +231,7 @@ declare function serializeMdi(source: string): string;
|
|
|
231
231
|
declare function renderText(source: string): string;
|
|
232
232
|
/** Render plain text without discarding Rust diagnostics and source spans. */
|
|
233
233
|
declare function renderTextWithDiagnostics(source: string): MdiRenderResult<string>;
|
|
234
|
-
type MdiTextFormat = "txt" | "txt-ruby" | "narou" | "kakuyomu" | "aozora";
|
|
234
|
+
type MdiTextFormat = "txt" | "txt-ruby" | "narou" | "kakuyomu" | "aozora" | "note";
|
|
235
235
|
/** Render a named publication-text convention through Rust. */
|
|
236
236
|
declare function renderTextFormat(source: string, format: MdiTextFormat, indentPrefix?: string): string;
|
|
237
237
|
/** Render a named text format without discarding Rust diagnostics and spans. */
|
package/dist/index.d.ts
CHANGED
|
@@ -231,7 +231,7 @@ declare function serializeMdi(source: string): string;
|
|
|
231
231
|
declare function renderText(source: string): string;
|
|
232
232
|
/** Render plain text without discarding Rust diagnostics and source spans. */
|
|
233
233
|
declare function renderTextWithDiagnostics(source: string): MdiRenderResult<string>;
|
|
234
|
-
type MdiTextFormat = "txt" | "txt-ruby" | "narou" | "kakuyomu" | "aozora";
|
|
234
|
+
type MdiTextFormat = "txt" | "txt-ruby" | "narou" | "kakuyomu" | "aozora" | "note";
|
|
235
235
|
/** Render a named publication-text convention through Rust. */
|
|
236
236
|
declare function renderTextFormat(source: string, format: MdiTextFormat, indentPrefix?: string): string;
|
|
237
237
|
/** Render a named text format without discarding Rust diagnostics and spans. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@illusions-lab/mdi",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.14",
|
|
4
4
|
"description": "Thin JavaScript binding for the Rust-authoritative MDI parser",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"typecheck": "tsc --noEmit"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@illusions-lab/mdi-core": "^2.0.
|
|
36
|
-
"@illusions-lab/mdi-export-profile": "^2.0.
|
|
37
|
-
"@illusions-lab/mdi-to-epub": "^2.0.
|
|
35
|
+
"@illusions-lab/mdi-core": "^2.0.14",
|
|
36
|
+
"@illusions-lab/mdi-export-profile": "^2.0.19",
|
|
37
|
+
"@illusions-lab/mdi-to-epub": "^2.0.29",
|
|
38
38
|
"@types/mdast": "^4.0.0",
|
|
39
39
|
"yaml": "^2.0.0"
|
|
40
40
|
},
|