{"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"table-tag","__idx":0},"children":["Table tag"]},{"$$mdtype":"Tag","name":"ConfigOptionRequirements","attributes":{"products":["Revel","Reef","Realm"],"plans":["Pro","Enterprise","Enterprise+"]},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["table"]}," tag enables you to create tables using a list-based syntax that allows for injection of rich content, like bulleted lists and code samples."," ","You can also add tables using HTML syntax, but the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["table"]}," tag allows for richer content and is easier to format."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"syntax-and-usage","__idx":1},"children":["Syntax and usage"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["table"]}," tag to add tables with rich content to your documentation."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Example syntax:"]},{"$$mdtype":"Tag","name":"MarkdocExample","attributes":{"renderDemo":false,"language":"markdoc","demoContent":[{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Option"},"children":["Option"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["hide"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["boolean"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Disables breadcrumb links in the project when set to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]},".",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},"Default value: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["prefixItems"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["[",{"$$mdtype":"Tag","name":"Link","attributes":{"href":"#"},"children":["Breadcrumb object"]},"]"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["A list of breadcrumb links to always be displayed first."]}]}]}]}]}],"rawContent":"{% table %}\n\n- Option\n- Type\n- Description\n\n---\n\n- hide\n- boolean\n- Disables breadcrumb links in the project when set to `true`.\\\n  Default value: `false`\n\n---\n\n- prefixItems\n- [[Breadcrumb object](#)]\n- A list of breadcrumb links to always be displayed first.\n\n{% /table %}\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"attributes","__idx":2},"children":["Attributes"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Option"},"children":["Option"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["width"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Sets the width of the table row."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["align"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Sets the text alignment to either ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["center"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["left"]},", or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["right"]},"."," ","Default value: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["left"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["valign"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Sets the vertical alignment of the cell content to either ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["top"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["middle"]},", or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bottom"]},"."," ","Default value: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["top"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["colspan"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["number"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Sets the column and row span."]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"examples","__idx":3},"children":["Examples"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The following examples illustrate using rich text in Markdoc tables:"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"example-table-with-bullets","__idx":4},"children":["Example table with bullets"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"40%","data-label":"Description"},"children":["Description "]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Example"},"children":["Example"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Sentiment"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Includes a question or statement with a thumbs-up and thumbs-down icon."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["This is the default feedback form and displays without configuration."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Users can express either a positive or negative reaction to the page."]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/content-assets/sentiment-01-171007fb76a56e65.png","alt":"Screenshot of the sentiment feedback form","framed":false,"withLightbox":true},"children":[]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Mood"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Includes a question or statement with a smiling-face, neutral-face, and frowning-face icon."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Users can express a positive, negative, or neutral review of the page."]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/content-assets/mood-01-4ed1e259a68944cf.png","alt":"Screenshot of the mood feedback form","framed":false,"withLightbox":true},"children":[]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Rating"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Includes a question or statement with five star icons."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Users can rate a page from one to five stars."]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/content-assets/rating-01-6e14b1085b0f2a87.png","alt":"Screenshot of the rating feedback form","framed":false,"withLightbox":true},"children":[]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Scale"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Includes a question or statement, left-hand side and right-hand side text labels, and buttons for numbers 1 - 10."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Users can rate a page from one to ten."]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/content-assets/scale-01-9eb12fe68762d181.png","alt":"Screenshot of the scale feedback form","framed":false,"withLightbox":true},"children":[]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Comment"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Includes a text label and text input."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Users can use the text field to express their thoughts about the page in a free-form way."]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/content-assets/comment-01-1f9826aa4ab74f8c.png","alt":"Screenshot of the comment feedback form","framed":false,"withLightbox":true},"children":[]}]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Example table with bullets syntax:"]}]},{"$$mdtype":"Tag","name":"MarkdocExample","attributes":{"renderDemo":false,"language":"markdoc","demoContent":[{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"40%","data-label":"Description"},"children":["Description "]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Example"},"children":["Example"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Sentiment"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Includes a question or statement with a thumbs-up and thumbs-down icon."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["This is the default feedback form and displays without configuration."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Users can express either a positive or negative reaction to the page."]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"Image","attributes":{"src":"../images/sentiment-01.png","alt":"Screenshot of the sentiment feedback form","framed":false,"withLightbox":true},"children":[]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Mood"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Includes a question or statement with a smiling-face, neutral-face, and frowning-face icon."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Users can express a positive, negative, or neutral review of the page."]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"Image","attributes":{"src":"../images/mood-01.png","alt":"Screenshot of the mood feedback form","framed":false,"withLightbox":true},"children":[]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Rating"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Includes a question or statement with five star icons."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Users can rate a page from one to five stars."]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"Image","attributes":{"src":"../images/rating-01.png","alt":"Screenshot of the rating feedback form","framed":false,"withLightbox":true},"children":[]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Scale"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Includes a question or statement, left-hand side and right-hand side text labels, and buttons for numbers 1 - 10."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Users can rate a page from one to ten."]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"Image","attributes":{"src":"../images/scale-01.png","alt":"Screnshot of the scale feedback form","framed":false,"withLightbox":true},"children":[]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Comment"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Includes a text label and text input."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Users can use the text field to express their thoughts about the page in a free-form way."]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"Image","attributes":{"src":"../images/comment-01.png","alt":"Screenshot of the comment feedback form","framed":false,"withLightbox":true},"children":[]}]}]}]}]}]}],"rawContent":"{% table %}\n\n- Type\n- Description {% width=\"40%\" %}\n- Example\n\n---\n\n- Sentiment\n\n- - Includes a question or statement with a thumbs-up and thumbs-down icon.\n  - This is the default feedback form and displays without configuration.\n  - Users can express either a positive or negative reaction to the page.\n\n- {% img\n    src=\"../images/sentiment-01.png\"\n    alt=\"Screenshot of the sentiment feedback form\"\n    withLightbox=true\n  /%}\n\n---\n\n- Mood\n\n- - Includes a question or statement with a smiling-face, neutral-face, and frowning-face icon.\n  - Users can express a positive, negative, or neutral review of the page.\n\n- {% img\n    src=\"../images/mood-01.png\"\n    alt=\"Screenshot of the mood feedback form\"\n    withLightbox=true\n  /%}\n\n---\n\n- Rating\n\n- - Includes a question or statement with five star icons.\n  - Users can rate a page from one to five stars.\n\n- {% img\n    src=\"../images/rating-01.png\"\n    alt=\"Screenshot of the rating feedback form\"\n    withLightbox=true\n  /%}\n\n---\n\n- Scale\n\n- - Includes a question or statement, left-hand side and right-hand side text labels, and buttons for numbers 1 - 10.\n  - Users can rate a page from one to ten.\n\n- {% img\n    src=\"../images/scale-01.png\"\n    alt=\"Screnshot of the scale feedback form\"\n    withLightbox=true\n  /%}\n\n---\n\n- Comment\n\n- - Includes a text label and text input.\n  - Users can use the text field to express their thoughts about the page in a free-form way.\n\n- {% img\n    src=\"../images/comment-01.png\"\n    alt=\"Screenshot of the comment feedback form\"\n    withLightbox=true\n  /%}\n\n{% /table %}\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"example-table-with-code-samples","__idx":5},"children":["Example table with code samples"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Option"},"children":["Option"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["languages"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["[language object]"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["REQUIRED."]}," ","Array of language objects, one per language."," ","The samples are displayed in the order that they are listed."," ","Default array value is:",{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"javascript","header":{"controls":{"copy":{}}},"source":"[\n  { lang: curl },\n  { lang: JavaScript },\n  { lang: Node.js },\n  { lang: Python },\n  { lang: Java },\n  { lang: C# },\n  { lang: PHP },\n  { lang: Go },\n  { lang: Ruby },\n  { lang: R },\n  { lang: Payload }\n]\n","lang":"javascript"},"children":[]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["skipOptionalParameters"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["boolean"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Excludes optional parameters (cookies, headers, query params) from the generated code samples."," ","Defaults to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]},"."]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Example table with code sample syntax:"]}]},{"$$mdtype":"Tag","name":"MarkdocExample","attributes":{"renderDemo":false,"language":"markdoc","demoContent":[{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Option"},"children":["Option"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["languages"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["[language object]"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["REQUIRED."]}," ","Array of language objects, one per language."," ","The samples are displayed in the order that they are listed."," ","Default array value is:",{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"javascript","header":{"controls":{"copy":{}}},"source":"[\n  { lang: curl },\n  { lang: JavaScript },\n  { lang: Node.js },\n  { lang: Python },\n  { lang: Java },\n  { lang: C# },\n  { lang: PHP },\n  { lang: Go },\n  { lang: Ruby },\n  { lang: R },\n  { lang: Payload }\n]\n","lang":"javascript"},"children":[]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["skipOptionalParameters"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["boolean"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Excludes optional parameters (cookies, headers, query params) from the generated code samples."," ","Defaults to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]},"."]}]}]}]}]}],"rawContent":"{% table %}\n\n- Option\n- Type\n- Description\n\n---\n\n- languages\n- [language object]\n- **REQUIRED.**\n  Array of language objects, one per language.\n  The samples are displayed in the order that they are listed.\n  Default array value is:\n  ```javascript\n  [\n    { lang: curl },\n    { lang: JavaScript },\n    { lang: Node.js },\n    { lang: Python },\n    { lang: Java },\n    { lang: C# },\n    { lang: PHP },\n    { lang: Go },\n    { lang: Ruby },\n    { lang: R },\n    { lang: Payload }\n  ]\n  ```\n---\n\n- skipOptionalParameters\n- boolean\n- Excludes optional parameters (cookies, headers, query params) from the generated code samples.\n  Defaults to `false`.\n\n{% /table %}\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"example-table-without-headings","__idx":6},"children":["Example table without headings"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Heading 1"},"children":["Heading 1"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Heading 2"},"children":["Heading 2"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Row 1 Cell 1"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Row 1 Cell 2"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Row 2 Cell 1"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Row 2 Cell 2"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Example table without headings syntax:"]}]},{"$$mdtype":"Tag","name":"MarkdocExample","attributes":{"renderDemo":false,"language":"markdoc","demoContent":[{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Row 1 Cell 1"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Row 1 Cell 2"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Row 2 Cell 1"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Row 2 cell 2"]}]}]}]}]}],"rawContent":"{% table %}\n---\n- Row 1 Cell 1\n- Row 1 Cell 2\n---\n- Row 2 Cell 1\n- Row 2 cell 2\n{% /table %}\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"best-practices","__idx":7},"children":["Best practices"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Tables are especially useful for displaying complex data in an organized way."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Do not use tables for layout"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Do not use tables to place elements side-by-side on a page."," ","Instead, use CSS utility classes like Flexbox."," ","For an example of how to arrange diagrams horizontally, see ",{"$$mdtype":"Tag","name":"Link","attributes":{"href":"/docs/realm/branding/customize-styles#use-css-utility-classes-for-layout"},"children":["Use CSS utility classes for layout"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Use a list if only one column"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If you only have a single column, a list is probably a better way to display the information."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Include an introductory sentence"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Introduce tables with an explanatory sentence that describes the significance of the table."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"resources","__idx":8},"children":["Resources"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"Link","attributes":{"href":"/docs/realm/branding/customize-tables"},"children":["Customize tables"]}]}," - Learn to style tables with CSS variables, custom classes, and mode-specific styling for enhanced visual presentation"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"Link","attributes":{"href":"https://redocly.com/learn/markdoc"},"children":["Markdoc overview for technical writers"]}]}," - Learn how to use Markdoc in your documentation"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"Link","attributes":{"href":"/docs/realm/content/markdoc-tags"},"children":["Markdoc tags"]}]}," - See the full list of supported Markdoc tags"]}]}]},"frontmatter":{"products":["Revel","Reef","Realm"],"plans":["Pro","Enterprise","Enterprise+"]},"tagList":["configOptionRequirements","img","markdoc-example","table"],"title":"Table tag","lastModified":"2026-10-01T23:00:57.000Z"}