{"route":"/en-US-v0.14.1/reference/layout/colbreak/","title":"Column Break","description":"Documentation for the `colbreak` function.","part":null,"outline":[{"id":"summary","name":"Summary","children":[]},{"id":"example","name":"Example","children":[]},{"id":"parameters","name":"Parameters","children":[{"id":"parameters-weak","name":"weak","children":[]}]}],"body":{"kind":"func","content":{"path":[],"name":"colbreak","title":"Column Break","keywords":[],"oneliner":"Forces a column break.","element":true,"contextual":false,"deprecationMessage":null,"deprecationUntil":null,"details":[{"kind":"html","content":"<p>Forces a column break.</p>\n<p>The function will behave like a <a href=\"/en-US-v0.14.1/reference/layout/pagebreak/\">page break</a> when used in a\nsingle column layout or the last column on a page. Otherwise, content after\nthe column break will be placed in the next column.</p>\n<h2 id=\"example\">Example</h2>\n<div class=\"previewed-code\"><pre><code><span class=\"typ-key\">#</span><span class=\"typ-key\">set</span> <span class=\"typ-func\">page</span><span class=\"typ-punct\">(</span>columns<span class=\"typ-punct\">:</span> <span class=\"typ-num\">2</span><span class=\"typ-punct\">)</span>\nPreliminary findings from our\nongoing research project have\nrevealed a hitherto unknown\nphenomenon of extraordinary\nsignificance.\n\n<span class=\"typ-func\">#</span><span class=\"typ-func\">colbreak</span><span class=\"typ-punct\">(</span><span class=\"typ-punct\">)</span>\nThrough rigorous experimentation\nand analysis, we have discovered\na hitherto uncharacterized process\nthat defies our current\nunderstanding of the fundamental\nlaws of nature.\n</code></pre><div class=\"preview\"><img src=\"/en-US-v0.14.1/assets/317ca576aa5033b3292e2f600bab0f18.png\" alt=\"Preview\"></div></div>"}],"self":false,"params":[{"name":"weak","details":[{"kind":"html","content":"<p>If <code><span class=\"typ-key\">true</span></code>, the column break is skipped if the current column is\nalready empty.</p>"}],"types":["bool"],"strings":[],"default":"<code><span class=\"typ-key\">false</span></code>","positional":false,"named":true,"required":false,"variadic":false,"settable":true}],"returns":["content"],"scope":[]}}}