@incremark/core 0.2.4 → 0.2.5
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@incremark/core",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"description": "增量式 Markdown 解析器核心库",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -18,22 +18,24 @@
|
|
|
18
18
|
"./utils": {
|
|
19
19
|
"types": "./dist/utils/index.d.ts",
|
|
20
20
|
"import": "./dist/utils/index.js"
|
|
21
|
-
}
|
|
22
|
-
"./transformer/styles.css": "./src/transformer/styles.css"
|
|
21
|
+
}
|
|
23
22
|
},
|
|
24
23
|
"files": [
|
|
25
|
-
"dist"
|
|
26
|
-
"src/transformer/styles.css"
|
|
24
|
+
"dist"
|
|
27
25
|
],
|
|
28
26
|
"dependencies": {
|
|
27
|
+
"@types/lodash-es": "^4.17.12",
|
|
29
28
|
"@types/mdast": "^4.0.0",
|
|
29
|
+
"lodash-es": "^4.17.22",
|
|
30
30
|
"mdast-util-directive": "^3.0.0",
|
|
31
31
|
"mdast-util-from-markdown": "^2.0.0",
|
|
32
32
|
"mdast-util-gfm": "^3.0.0",
|
|
33
33
|
"mdast-util-gfm-footnote": "^2.1.0",
|
|
34
|
+
"mdast-util-math": "^3.0.0",
|
|
34
35
|
"micromark-extension-directive": "^4.0.0",
|
|
35
36
|
"micromark-extension-gfm": "^3.0.0",
|
|
36
37
|
"micromark-extension-gfm-footnote": "^2.1.0",
|
|
38
|
+
"micromark-extension-math": "^3.0.0",
|
|
37
39
|
"micromark-factory-destination": "^2.0.0",
|
|
38
40
|
"micromark-factory-label": "^2.0.0",
|
|
39
41
|
"micromark-factory-title": "^2.0.0",
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Incremark BlockTransformer Animation Styles
|
|
3
|
-
*
|
|
4
|
-
* 这些样式用于配合 BlockTransformer 的 effect 选项
|
|
5
|
-
* 可以直接导入使用,或复制到你的项目中自定义
|
|
6
|
-
*
|
|
7
|
-
* 注意:光标字符已直接内嵌到内容中,以下样式仅供参考
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
/* ============ Typing 打字机光标效果 ============ */
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* 容器需要添加 .incremark-typing 类
|
|
14
|
-
* 光标字符已直接添加到正在输入的块内容末尾
|
|
15
|
-
*/
|
|
16
|
-
.incremark-typing .incremark-pending {
|
|
17
|
-
/* 光标字符已内嵌在内容中,默认为 | */
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
/* ============ 代码块特殊处理 ============ */
|
|
21
|
-
|
|
22
|
-
/* 代码块内使用等宽字体 */
|
|
23
|
-
.incremark-typing pre,
|
|
24
|
-
.incremark-typing code {
|
|
25
|
-
font-family: monospace;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
/* ============ 工具类 ============ */
|
|
29
|
-
|
|
30
|
-
/* 平滑过渡 */
|
|
31
|
-
.incremark-smooth * {
|
|
32
|
-
transition: opacity 0.1s ease-out;
|
|
33
|
-
}
|