yumiamd 0.1.17 → 0.1.18
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/bin.js +1 -1
- package/dist/{chunk-IAEXC5SG.js → chunk-SP4B4UF7.js} +38 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +9 -3
- package/package.json +10 -10
package/dist/bin.js
CHANGED
|
@@ -2100,6 +2100,30 @@ var YumiaCompiler = class {
|
|
|
2100
2100
|
directives: {
|
|
2101
2101
|
type: "object",
|
|
2102
2102
|
properties: {
|
|
2103
|
+
chart: {
|
|
2104
|
+
syntax: ':::chart type="bar|line|pie|doughnut" title="..." labels="..." data="..."',
|
|
2105
|
+
description: "Native editable chart for PowerPoint, PDF vector paths, and interactive SVG"
|
|
2106
|
+
},
|
|
2107
|
+
mermaid: {
|
|
2108
|
+
syntax: ":::mermaid\\ngraph LR\\n A --> B\\n:::",
|
|
2109
|
+
description: "Flowcharts, sequence diagrams, and architecture maps via Mermaid"
|
|
2110
|
+
},
|
|
2111
|
+
timeline: {
|
|
2112
|
+
syntax: ':::timeline [layout="horizontal|vertical"]\\n- [Date] Title: Description\\n:::',
|
|
2113
|
+
description: "Roadmap and milestone timeline nodes with connector lines"
|
|
2114
|
+
},
|
|
2115
|
+
compare: {
|
|
2116
|
+
syntax: ':::compare left="Left Title" right="Right Title"\\n- Left Item\\n:::vs\\n- Right Item\\n:::',
|
|
2117
|
+
description: "Side-by-side comparison boxes with versus badge"
|
|
2118
|
+
},
|
|
2119
|
+
badge: {
|
|
2120
|
+
syntax: ':::badge text="..." [variant="primary|success|warning|danger|info|accent"] :::',
|
|
2121
|
+
description: "Compact inline status pill element"
|
|
2122
|
+
},
|
|
2123
|
+
step: {
|
|
2124
|
+
syntax: ":::step\\nProgressive reveal content\\n:::",
|
|
2125
|
+
description: "Click-to-reveal fragment step animation"
|
|
2126
|
+
},
|
|
2103
2127
|
columns: {
|
|
2104
2128
|
syntax: ':::columns [ratios="50:50"]\\n:::column\\n...\\n:::\\n:::',
|
|
2105
2129
|
description: "Multi-column grid layout"
|
|
@@ -2130,6 +2154,16 @@ var YumiaCompiler = class {
|
|
|
2130
2154
|
};
|
|
2131
2155
|
}
|
|
2132
2156
|
};
|
|
2157
|
+
var defaultCompiler = new YumiaCompiler();
|
|
2158
|
+
function parse(source, options) {
|
|
2159
|
+
return defaultCompiler.parse(source, options);
|
|
2160
|
+
}
|
|
2161
|
+
function validate(source) {
|
|
2162
|
+
return defaultCompiler.validate(source);
|
|
2163
|
+
}
|
|
2164
|
+
function lint(sourceOrPresentation, options) {
|
|
2165
|
+
return defaultCompiler.lint(sourceOrPresentation, options);
|
|
2166
|
+
}
|
|
2133
2167
|
|
|
2134
2168
|
// ../renderer-pptx/dist/renderer.js
|
|
2135
2169
|
import pptxgen from "pptxgenjs";
|
|
@@ -4824,7 +4858,7 @@ function startDevServer(filePath, options = {}) {
|
|
|
4824
4858
|
// src/cli.ts
|
|
4825
4859
|
import { mkdirSync, readFileSync as readFileSync2, watch as fsWatch, writeFileSync } from "fs";
|
|
4826
4860
|
import { basename, dirname, extname, join, resolve as resolve2 } from "path";
|
|
4827
|
-
var VERSION = "0.1.
|
|
4861
|
+
var VERSION = "0.1.18";
|
|
4828
4862
|
function printHelp() {
|
|
4829
4863
|
return `
|
|
4830
4864
|
YumiaMD \u2014 Markdown-based presentation compiler (v${VERSION})
|
|
@@ -5377,6 +5411,9 @@ export {
|
|
|
5377
5411
|
createTheme,
|
|
5378
5412
|
YumiaLinter,
|
|
5379
5413
|
YumiaCompiler,
|
|
5414
|
+
parse,
|
|
5415
|
+
validate,
|
|
5416
|
+
lint,
|
|
5380
5417
|
cleanFontFace,
|
|
5381
5418
|
parseInlineMarkdown,
|
|
5382
5419
|
PptxRenderer,
|
package/dist/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export * from '@yumiamd/renderer-pptx';
|
|
|
9
9
|
export * from '@yumiamd/renderer-html';
|
|
10
10
|
export * from '@yumiamd/renderer-pdf';
|
|
11
11
|
|
|
12
|
-
declare const VERSION = "0.1.
|
|
12
|
+
declare const VERSION = "0.1.18";
|
|
13
13
|
declare function printHelp(): string;
|
|
14
14
|
declare function runCli(argv: string[]): Promise<{
|
|
15
15
|
exitCode: number;
|
package/dist/index.js
CHANGED
|
@@ -36,15 +36,18 @@ import {
|
|
|
36
36
|
createTimeline,
|
|
37
37
|
cyberpunkTheme,
|
|
38
38
|
defaultTheme,
|
|
39
|
+
lint,
|
|
39
40
|
minimalTheme,
|
|
41
|
+
parse,
|
|
40
42
|
parseInlineMarkdown,
|
|
41
43
|
parseYumia,
|
|
42
44
|
printHelp,
|
|
43
45
|
resolveTheme,
|
|
44
46
|
runCli,
|
|
45
47
|
startDevServer,
|
|
46
|
-
terminalTheme
|
|
47
|
-
|
|
48
|
+
terminalTheme,
|
|
49
|
+
validate
|
|
50
|
+
} from "./chunk-SP4B4UF7.js";
|
|
48
51
|
export {
|
|
49
52
|
DEFAULT_VIEWPORT,
|
|
50
53
|
DefaultLayoutEngine,
|
|
@@ -83,12 +86,15 @@ export {
|
|
|
83
86
|
createTimeline,
|
|
84
87
|
cyberpunkTheme,
|
|
85
88
|
defaultTheme,
|
|
89
|
+
lint,
|
|
86
90
|
minimalTheme,
|
|
91
|
+
parse,
|
|
87
92
|
parseInlineMarkdown,
|
|
88
93
|
parseYumia,
|
|
89
94
|
printHelp,
|
|
90
95
|
resolveTheme,
|
|
91
96
|
runCli,
|
|
92
97
|
startDevServer,
|
|
93
|
-
terminalTheme
|
|
98
|
+
terminalTheme,
|
|
99
|
+
validate
|
|
94
100
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yumiamd",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.18",
|
|
4
4
|
"description": "Command line interface and compiler for YumiaMD presentations",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -21,15 +21,15 @@
|
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"tsup": "^8.5.1",
|
|
24
|
-
"@yumiamd/ast": "0.1.
|
|
25
|
-
"@yumiamd/
|
|
26
|
-
"@yumiamd/
|
|
27
|
-
"@yumiamd/
|
|
28
|
-
"@yumiamd/
|
|
29
|
-
"@yumiamd/
|
|
30
|
-
"@yumiamd/
|
|
31
|
-
"@yumiamd/renderer-pptx": "0.1.
|
|
32
|
-
"@yumiamd/renderer-pdf": "0.1.
|
|
24
|
+
"@yumiamd/ast": "0.1.18",
|
|
25
|
+
"@yumiamd/renderer": "0.1.18",
|
|
26
|
+
"@yumiamd/layout": "0.1.18",
|
|
27
|
+
"@yumiamd/core": "0.1.18",
|
|
28
|
+
"@yumiamd/theme": "0.1.18",
|
|
29
|
+
"@yumiamd/renderer-html": "0.1.18",
|
|
30
|
+
"@yumiamd/parser": "0.1.18",
|
|
31
|
+
"@yumiamd/renderer-pptx": "0.1.18",
|
|
32
|
+
"@yumiamd/renderer-pdf": "0.1.18"
|
|
33
33
|
},
|
|
34
34
|
"keywords": [
|
|
35
35
|
"yumia",
|