Skip to content
Maxwell Simmer edited this page Oct 23, 2019 · 6 revisions

Spread

Content inside of a spread directive will stretch the width of the screen in the Reader, filling both columns to achieve a full-bleed effect. In downloadable formats – EPUB, Mobi, PDF – the contents of the spread will be laid out on a single page.

Note: A spread directive must be enclosed in a section directive (e.g., chapter).

Input

::: chapter:spread-example

::: spread:spread-one

# Spread One

This text will span the both columns in the reader view.

::: exit:spread-one

::: exit:spread-example

Output

<!-- START: section:chapter#spread-example; _markdown/audio.md:11 -->
<section id="spread-example" epub:type="bodymatter chapter" class="bodymatter chapter">
  <section id="spread-one" class=" spread">
    <h1>Spread One</h1>
    <p>This text will span the both columns in the reader view.</p>
  </section>
  <!-- END: section:exit#spread-one -->
</section>
<!-- END: section:exit#spread-example -->
Clone this wiki locally