{"route":"/en-US-v0.14.1/reference/layout/hide/","title":"Hide","description":"Documentation for the `hide` function.","part":null,"outline":[{"id":"summary","name":"Summary","children":[]},{"id":"example","name":"Example","children":[]},{"id":"redaction","name":"Redaction","children":[]},{"id":"parameters","name":"Parameters","children":[{"id":"parameters-body","name":"body","children":[]}]}],"body":{"kind":"func","content":{"path":[],"name":"hide","title":"Hide","keywords":[],"oneliner":"Hides content without affecting layout.","element":true,"contextual":false,"deprecationMessage":null,"deprecationUntil":null,"details":[{"kind":"html","content":"<p>Hides content without affecting layout.</p>\n<p>The <code>hide</code> function allows you to hide content while the layout still &quot;sees&quot;\nit. This is useful for creating blank space that is exactly as large as some\ncontent.</p>\n<h2 id=\"example\">Example</h2>\n<div class=\"previewed-code\"><pre><code>Hello Jane <span class=\"typ-escape\">\\</span>\n<span class=\"typ-func\">#</span><span class=\"typ-func\">hide</span><span class=\"typ-punct\">[</span>Hello<span class=\"typ-punct\">]</span> Joe\n</code></pre><div class=\"preview\"><img src=\"/en-US-v0.14.1/assets/c348a83fa35ef3b84e31782980f262ae.png\" alt=\"Preview\"></div></div>\n<h2 id=\"redaction\">Redaction</h2>\n<p>This function may also be useful for redacting content as its arguments are\nneither present visually nor accessible to Assistive Technology. That said,\nthere can be <em>some</em> traces of the hidden content (such as a bookmarked\nheading in the PDF's Document Outline).</p>\n<p>Note that, depending on the circumstances, it may be possible for content to\nbe reverse engineered based on its size in the layout. We thus do not\nrecommend using this function to hide highly sensitive information.</p>"}],"self":false,"params":[{"name":"body","details":[{"kind":"html","content":"<p>The content to hide.</p>"}],"types":["content"],"strings":[],"default":null,"positional":true,"named":false,"required":true,"variadic":false,"settable":false}],"returns":["content"],"scope":[]}}}