Skip to content

Pull quotes and block quotes

Maxwell Simmer edited this page Oct 23, 2019 · 3 revisions

Pull quotes and block quotes

pullquote and blockquote directives can be used to easily insert excerpts with citations in the text. Please note that the citation attribute accepts Markdown.

Block quotes

Input

::: blockquote:my-unique-id citation:"First Last, *Publication Source*"

Duis aute irure dolor in reprehenderit in voluptate.

::: exit:my-unique-id

Output

<!-- START: section:blockquote#my-unique-id -->
<blockquote class=" blockquote">
  <p>Duis aute irure dolor in reprehenderit in voluptate.</p>

  <footer><cite>&#8212;&#160;First Last, <em>Publication Source</em></cite></footer>
</blockquote><!-- END: section:blockquote#my-unique-id -->

Pull quotes

Input

::: pullquote:my-unique-id citation:"First Last, *Publication Source*"

Duis aute irure dolor in reprehenderit in voluptate.

::: exit:my-unique-id

Output

<!-- START: section:pullquote#my-unique-id -->
<section class="pullquote  chapter" epub:type=" chapter">
  <p>Duis aute irure dolor in reprehenderit in voluptate.</p>

  <footer><cite>&#8212;&#160;First Last, <em>Publication Source</em></cite></footer>
</section><!-- END: section:pullquote#my-unique-id -->
Clone this wiki locally