Commits

Anonymous committed 6889f83

- Clarified QuoteBlock documentation.
- Elimintated conditionally redundant br element between quoteblock attribution
and citetitle.

Comments (0)

Files changed (4)

 Quote Blocks
 ~~~~~~~~~~~~
 QuoteBlocks are used for quoted passages of text. There are two
-styles: 'quote' and 'verse' (the first positional attribute).  The
-'attribution' and 'citetitle' attributes (positional attributes 2 and
-3) specify the content author and source. If no attributes are
-specified the 'quote' style is used.
+styles: 'quote' and 'verse'. The style is set by the first positional
+attribute, if no style attribute is specified the 'quote' style.  The
+optional 'attribution' and 'citetitle' attributes (positional
+attributes 2 and 3) specify the quote's author and source.
 
 The 'quote' style treats the content like a SectionBody, for example:
 
 [quoteblock]
 <blockquote{id? id="{id}"}>
 <title>{title}</title>
-# Include attribution only if either {attribution} or {citetitle} are defined.
+# Include attribution only if either {attribution} or {citetitle} is defined.
 {attribution#}<attribution>
 {attribution%}{citetitle#}<attribution>
 {attribution}
 [verseblock]
 <blockquote{id? id="{id}"}>
 <title>{title}</title>
-# Include attribution only if either {attribution} or {citetitle} are defined.
+# Include attribution only if either {attribution} or {citetitle} is defined.
 {attribution#}<attribution>
 {attribution%}{citetitle#}<attribution>
 {attribution}
 <p><b>{title}</b></p>
 |
 <p align="right">
-<em>{citetitle}</em><br />
+<em>{citetitle}</em>{attribution?<br />}
 &#8212; {attribution}
 </p>
 </blockquote>
 |
 </pre>
 <p align="left">
-<em>{citetitle}</em><br />
+<em>{citetitle}</em>{attribution?<br />}
 &#8212; {attribution}
 </p>
 </blockquote>
 |
 </div>
 <div class="attribution">
-<em>{citetitle}</em><br />
+<em>{citetitle}</em>{attribution?<br />}
 &#8212; {attribution}
 </div></div>
 
 |
 </div>
 <div class="attribution">
-<em>{citetitle}</em><br />
+<em>{citetitle}</em>{attribution?<br />}
 &#8212; {attribution}
 </div></div>
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.