@heikeson/md-engine 0.5.4 → 0.6.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/README.en.md +267 -0
- package/README.md +25 -4
- package/dist/{chunk-P4SAIRGF.js → chunk-BMAGJMFB.js} +1 -0
- package/dist/{chunk-RWT2RMCY.js → chunk-JUWL5RG7.js} +1 -0
- package/dist/{chunk-QEMURI4I.js → chunk-OKP7VFRV.js} +18 -3
- package/dist/{chunk-SGORBOHN.js → chunk-W463Q7LK.js} +2 -2
- package/dist/{chunk-2A72VTCO.js → chunk-Y3B7I6LZ.js} +140 -17
- package/dist/components/index.d.ts +70 -3
- package/dist/components/index.js +4 -4
- package/dist/editor/index.d.ts +4 -4
- package/dist/editor/index.js +27 -6
- package/dist/index.d.ts +3 -3
- package/dist/index.js +6 -6
- package/dist/locales/en-US.d.ts +1 -0
- package/dist/locales/en-US.js +1 -1
- package/dist/locales/zh-CN.d.ts +1 -0
- package/dist/locales/zh-CN.js +1 -1
- package/dist/mermaid/index.js +3 -3
- package/dist/{render-CCAfJ__u.d.ts → render-Dv1LAIvk.d.ts} +2 -0
- package/dist/styles.css +1 -1
- package/package.json +3 -1
- package/styles/columns.css +41 -0
- package/styles/image.css +45 -3
- package/styles/index.css +4 -1
- package/styles/timeline.css +89 -0
- package/styles/video.css +28 -0
- package//345/257/271/346/216/245/345/245/221/347/272/246.en.md +765 -0
- package//345/257/271/346/216/245/345/245/221/347/272/246.md +411 -231
package/styles/video.css
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file Video 视频样式
|
|
3
|
+
* @description 与 Image 同一套排版口径:居中、限宽、题注弱化;
|
|
4
|
+
* 视频自身背景压黑,避免未加载时闪烁宿主底色。
|
|
5
|
+
* @created 2026-11-27 10:20
|
|
6
|
+
* @updated 2026-11-27 10:20
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
@layer lkes.components {
|
|
10
|
+
.prose-site .video {
|
|
11
|
+
margin: 1.25rem auto;
|
|
12
|
+
text-align: center;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.prose-site .video-el {
|
|
16
|
+
display: block;
|
|
17
|
+
width: 100%;
|
|
18
|
+
max-width: 100%;
|
|
19
|
+
border-radius: var(--lkes-radius, 0.5rem);
|
|
20
|
+
background-color: #000000;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.prose-site .video figcaption {
|
|
24
|
+
margin-top: 0.5rem;
|
|
25
|
+
font-size: 0.875rem;
|
|
26
|
+
color: var(--lkes-muted, #6b7280);
|
|
27
|
+
}
|
|
28
|
+
}
|