Pull quotes and block quotes - triplecanopy/b-ber GitHub Wiki

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 -->
⚠️ **GitHub.com Fallback** ⚠️