@lalalic/markcut 2.4.5 → 2.4.6
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
|
@@ -291,22 +291,12 @@ Subtitles are configured at the root level as a VTT overlay. Set via `subtitle:`
|
|
|
291
291
|
|
|
292
292
|
| Field | Required | Type | Notes |
|
|
293
293
|
|---|---|---|---|
|
|
294
|
-
| `src` | yes | string | VTT path/URL, inline VTT body, or plain text |
|
|
295
294
|
| `type` | opt | string | caption animation: `Bounce`, `Fade`, `Typewriter`, `Colorful`, `Glowing`, `Neon`, `Zoom`. Default: plain static caption |
|
|
296
295
|
| `fontSize` | opt | number \| string | default 56 (accepts CSS value like `"2em"` or number) |
|
|
297
296
|
| `fontFamily` | opt | string | font family |
|
|
298
297
|
| `fontStyle` | opt | string | `normal`, `italic`, `bold`, `bold italic` |
|
|
299
298
|
| `style` | opt | string | inline CSS for the overlay container |
|
|
300
299
|
|
|
301
|
-
> **HTML in cue text**: Cue text supports HTML tags with inline CSS, so you can style individual words:
|
|
302
|
-
> ```vtt
|
|
303
|
-
> 00:00:01.000 --> 00:00:03.000
|
|
304
|
-
> Hello <span style="color:#ff6b6b">world</span>, welcome to <b>our show</b>!
|
|
305
|
-
> ```
|
|
306
|
-
> The engine renders cue text via `dangerouslySetInnerHTML`, making `<span>`, `<b>`, `<i>`, `<br>`, and inline `style` attributes all work.
|
|
307
|
-
|
|
308
|
-
If `src` is plain text (no `-->` markers), it renders as a single caption for the full video duration. The `type` field maps to a `remotion-subtitle` animation component — omit for a plain static caption.
|
|
309
|
-
|
|
310
300
|
## Key Reference (use these names)
|
|
311
301
|
|
|
312
302
|
| Key | Means | Applies to | Note
|
|
@@ -9,11 +9,15 @@ Full path: ${filePath}
|
|
|
9
9
|
@{skills/markcut/docs/markdown-descriptive.md}
|
|
10
10
|
|
|
11
11
|
TASKS:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
12
|
+
- locate the section of the .md file according to current timestamp and active scene, and user instructions
|
|
13
|
+
- edit the .md file to implement user instructions, while preserving existing content and formatting
|
|
14
|
+
- Read the .md file directly using your file tools to see its current content
|
|
15
|
+
- Edit the .md file directly — change content, add/remove sections, update frontmatter
|
|
16
|
+
- **Caption**: directly `edit` vtt file when stylishing text in captions
|
|
17
|
+
**HTML in cue text**: Cue text supports HTML tags with inline CSS, so you can style individual words:
|
|
18
|
+
~~~vtt
|
|
19
|
+
00:00:01.000 --> 00:00:03.000
|
|
20
|
+
Hello <span style="color:#ff6b6b">world</span>, welcome to <b>our show</b>!
|
|
21
|
+
~~~
|
|
22
|
+
- Save the changes to the .md file using your `edit` tool
|
|
23
|
+
|