@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lalalic/markcut",
3
- "version": "2.4.5",
3
+ "version": "2.4.6",
4
4
  "description": "Markdown-to-video engine. Describe scenes in markdown, get a rendered video.",
5
5
  "bin": {
6
6
  "markcut": "bin/markcut"
@@ -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
- 1. Read the .md file directly using your file tools to see its current content
13
- 2. Edit the .md file directly change content, add/remove sections, update frontmatter
14
- 3. Save the changes to the .md file using your write/edit tools
15
- 4. Output ONLY a JSON object on a single line:
16
- {"summary":"what specific change you made","fileChanged":true}
17
- - `summary`: short description of the change
18
- - `fileChanged`: true if you edited the file, false if no change was needed
19
- 5. Do NOT output any other text, explanations, or reasoning — only the JSON line
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
+