@codady/coax 0.0.6 → 0.0.7
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/examples/append.html +1 -0
- package/examples/css.html +1 -0
- package/examples/deepseek.html +2 -1
- package/examples/html.html +1 -0
- package/examples/js.html +1 -0
- package/examples/md.html +1 -0
- package/examples/module.html +3 -2
- package/examples/plain.html +1 -0
- package/examples/replace.html +1 -0
- package/examples/steam.html +1 -0
- package/examples/tools.html +1 -0
- package/examples/ts.html +1 -0
- package/examples/typewriter.html +1 -0
- package/package.json +1 -1
package/examples/append.html
CHANGED
package/examples/css.html
CHANGED
package/examples/deepseek.html
CHANGED
|
@@ -22,10 +22,11 @@
|
|
|
22
22
|
</head>
|
|
23
23
|
|
|
24
24
|
<body>
|
|
25
|
+
<h1>Coax - deepseek 真实流式输出代码</h1>
|
|
25
26
|
<ax-code lang="js" indexed></ax-code>
|
|
26
27
|
|
|
27
28
|
<button>随机展示javascript</button>
|
|
28
|
-
<script src="
|
|
29
|
+
<script src="https://unpkg.com/@codady/utils/dist/utils.umd.js" type='text/javascript'></script>
|
|
29
30
|
<script src="../dist/coax.umd.js" type='text/javascript'></script>
|
|
30
31
|
<script type='text/javascript'>
|
|
31
32
|
|
package/examples/html.html
CHANGED
package/examples/js.html
CHANGED
package/examples/md.html
CHANGED
package/examples/module.html
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
</head>
|
|
10
10
|
|
|
11
11
|
<body>
|
|
12
|
+
<h1>Coax - 模块化定制高亮主题</h1>
|
|
12
13
|
<ax-code lang="css">
|
|
13
14
|
<code>
|
|
14
15
|
/* Main Layout Style */
|
|
@@ -35,7 +36,7 @@
|
|
|
35
36
|
|
|
36
37
|
<script type='module'>
|
|
37
38
|
|
|
38
|
-
const {
|
|
39
|
+
const {Coax,css} = await import('../dist/coax.esm.js');
|
|
39
40
|
|
|
40
41
|
css.themeStyles = `
|
|
41
42
|
:host {
|
|
@@ -56,7 +57,7 @@
|
|
|
56
57
|
}
|
|
57
58
|
}
|
|
58
59
|
`;
|
|
59
|
-
customElements.define(`ax-code`,
|
|
60
|
+
customElements.define(`ax-code`, Coax);
|
|
60
61
|
|
|
61
62
|
|
|
62
63
|
</script>
|
package/examples/plain.html
CHANGED
package/examples/replace.html
CHANGED
package/examples/steam.html
CHANGED
package/examples/tools.html
CHANGED
package/examples/ts.html
CHANGED
package/examples/typewriter.html
CHANGED