summary refs log tree commit diff stats
path: root/mountain.html
diff options
context:
space:
mode:
authorCase Duckworth2015-03-27 15:40:42 -0700
committerCase Duckworth2015-03-27 15:40:42 -0700
commit643d9ceb308c206a6e572c7c555168ff0ca60bc1 (patch)
tree8878d45b3dcc5c894a21d4e379be0f7293c5d345 /mountain.html
parentChange verse lines '$' -> '^| ' (diff)
downloadautocento-643d9ceb308c206a6e572c7c555168ff0ca60bc1.tar.gz
autocento-643d9ceb308c206a6e572c7c555168ff0ca60bc1.zip
Fix #5: Verse typesetting
Thanks to the pandoc-discussion thread at
<https://groups.google.com/forum/#!topic/pandoc-discuss/_JnTJnsSK3k>,
line breaks in verse have been converted to <span class="line">s,
which enables the CSS to style them with hanging indents, given
a too-small viewport.  This commit also includes a makefile edit to
reflect this change, and the Haskell source and executable of the
pandoc filter.
Diffstat (limited to 'mountain.html')
-rw-r--r--mountain.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/mountain.html b/mountain.html index 48bffbc..4d00666 100644 --- a/mountain.html +++ b/mountain.html
@@ -36,10 +36,10 @@
36 36
37 37
38 <section class="content verse"> 38 <section class="content verse">
39 <p>The other side of this mountain<br />is not the mountain. This side<br />is honey-golden, sticky-sweet,<br />full of phone conversations with mother.<br />The other side is a bell,<br />ringing in the church-steeple<br />the day mother died.</p> 39 <p><span class="line">The other side of this mountain</span><span class="line">is not the mountain. This side</span><span class="line">is honey-golden, sticky-sweet,</span><span class="line">full of phone conversations with mother.</span><span class="line">The other side is a bell,</span><span class="line">ringing in the church-steeple</span><span class="line">the day mother died.</span></p>
40 <p>The other side of the mountain<br /><a href="apollo11.html">is not a mountain. It is a dark</a><br />valley crossed by a river.<br />There is a ferry at the bottom.</p> 40 <p><span class="line">The other side of the mountain</span><span class="line"><a href="apollo11.html">is not a mountain. It is a dark</a></span><span class="line">valley crossed by a river.</span><span class="line">There is a ferry at the bottom.</span></p>
41 <p>This mountain is not a mountain.<br />I walked to the top, but it turned<br />and was only a shelf halfway up.<br />I felt like an unused Bible<br />sitting on a <a href="and.html">dusty pew</a>.</p> 41 <p><span class="line">This mountain is not a mountain.</span><span class="line">I walked to the top, but it turned</span><span class="line">and was only a shelf halfway up.</span><span class="line">I felt like an unused Bible</span><span class="line">sitting on a <a href="and.html">dusty pew</a>.</span></p>
42 <p>A hawk soars over the mountain.<br />She is looking for home.</p> 42 <p><span class="line">A hawk soars over the mountain.</span><span class="line">She is looking for home.</span></p>
43 </section> 43 </section>
44 </article> 44 </article>
45 <nav> 45 <nav>