Setup

To enable two-sided layout as seen on this page, add the following at the beginning of a Markdown file: --- type: two-sides ---

Details Side

Use the right pane to display additional details. It could be a REST response or a code snippet. Use in front of some content to place it on the right side of the page. All the following content will go to the right side. At the start of a new section it will be reset. include-meta :include-open-api: snippets/open-api/uber.json {method: "get", path: "/v1/estimates/time"} :include-meta: {rightSide: true} :include-json: two-sides/price-estimate.json

Open API Example

Responses 200 default get /estimates/time Time Estimates The Time Estimates endpoint returns ETAs for all products offered at a given location, with the responses expressed as integers in seconds. We recommend that this endpoint be called every minute to provide the most accurate, up-to-date ETAs. start_latitude start_longitude customer_uuid product_id

Single Data Block Shortcut

Account Price Description #12BGD3 100 custom table with a long attachment #12BGD4 90 custom table with a short attachment #12BGD5 150 chair #91AGB1 10 lunch Use as a parameter to plugins to move result to the right side. Account, Price, Description #12BGD3, 100, custom table with a long attachment #12BGD4, 90, custom table with a short attachment #12BGD5, 150, chair #91AGB1, 10, lunch rightSide: true include- # Single Data Block Shortcut :include-table: layout/table/table.csv :include-file: layout/table/table.csv {rightSide: true}

Aligning Data in Columns

Use an to align code snippets or other data block on both sides when there is an extra text on either side. Account Price Description #12BGD3 100 custom table with a long attachment #12BGD4 90 custom table with a short attachment #12BGD5 150 chair #91AGB1 10 lunch Table and code snippets above are aligned by using an empty block on the right side. include-empty-block Account, Price, Description #12BGD3, 100, custom table with a long attachment #12BGD4, 90, custom table with a short attachment #12BGD5, 150, chair #91AGB1, 10, lunch :include-empty-block: {rightSide: true} :include-table: layout/table/table.csv :include-file: layout/table/table.csv {rightSide: true}