Skip to content

Commit

Permalink
Add documentation for timemap options
Browse files Browse the repository at this point in the history
  • Loading branch information
lpugin committed Oct 6, 2024
1 parent 1629b2a commit c7f4f84
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions _includes/methods/rendertotimemap-jsonoptions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
**JSON Options**

| --- | --- |
`"includeMeasures": <boolean>` | Include measures in the timemap (false by default) |
`"includeRests": <boolean>` | Include rests in the timemap (false by default) |
{: .table .table-condensed .table-sm .text-xsmall}

Examples:
```cpp
std::string jsonOptions = "{'includeMeasures': 'true'}";
```
```python
jsonOptions = {'includeMeasures': True}
```

0 comments on commit c7f4f84

Please sign in to comment.