From c7f4f84746a6ddf739390c1da42921ff709a38b7 Mon Sep 17 00:00:00 2001 From: Laurent Pugin Date: Sun, 6 Oct 2024 16:22:04 +0200 Subject: [PATCH] Add documentation for timemap options --- _includes/methods/rendertotimemap-jsonoptions.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 _includes/methods/rendertotimemap-jsonoptions.md diff --git a/_includes/methods/rendertotimemap-jsonoptions.md b/_includes/methods/rendertotimemap-jsonoptions.md new file mode 100644 index 00000000..8ff60e1f --- /dev/null +++ b/_includes/methods/rendertotimemap-jsonoptions.md @@ -0,0 +1,15 @@ +**JSON Options** + +| --- | --- | +`"includeMeasures": ` | Include measures in the timemap (false by default) | +`"includeRests": ` | 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} +``` +