Browse Source

Fix minor issues with editSpec documentation

pull/22/head
Pete Nykänen 6 years ago
committed by GitHub
parent
commit
4b1a6d78c4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      README.md

14
README.md

@ -91,7 +91,7 @@ await editly(editSpec)
## Edit spec ## Edit spec
Edit specs are Javascript / JSON ojects describing the whole edit operation with the following structure:
Edit specs are Javascript / JSON objects describing the whole edit operation with the following structure:
```js ```js
{ {
@ -100,10 +100,10 @@ Edit specs are Javascript / JSON ojects describing the whole edit operation with
height, height,
fps, fps,
defaults: { defaults: {
duration = 4,
duration: 4,
transition: { transition: {
duration = 0.5,
name = 'random',
duration: 0.5,
name: 'random',
}, },
layer: { layer: {
fontPath, fontPath,
@ -127,9 +127,9 @@ Edit specs are Javascript / JSON ojects describing the whole edit operation with
], ],
// Testing options: // Testing options:
enableFfmpegLog = false,
verbose = false,
fast = false,
enableFfmpegLog: false,
verbose: false,
fast: false,
} }
``` ```

Loading…
Cancel
Save