aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMartin Vilcans <martin@librador.com>2012-02-22 22:23:33 +0100
committerMartin Vilcans <martin@librador.com>2012-02-23 22:08:24 +0100
commit14b9b720c9d14dc9667d83d178b849082b016618 (patch)
tree7a141308c739e279aaaed4003b3ff674ed20a85d /tests
parentf21e18e9acd97701c858b96d9887b91236988e53 (diff)
downloadscreenplain-14b9b720c9d14dc9667d83d178b849082b016618.tar.gz
Output synopsis to HTML.
Used Jonathan's CSS.
Diffstat (limited to 'tests')
-rw-r--r--tests/files/sections.fountain6
-rw-r--r--tests/files/sections.fountain.html6
2 files changed, 9 insertions, 3 deletions
diff --git a/tests/files/sections.fountain b/tests/files/sections.fountain
index 96a2266..3878e5f 100644
--- a/tests/files/sections.fountain
+++ b/tests/files/sections.fountain
@@ -1,9 +1,15 @@
# First level
+= Synopsis for level one.
+
## Second level
+= Synopsis for level two.
+
EXT. STREET - DAWN
+= Synopsis for the street scene
+
DAWN walks down the street.
## Second level again
diff --git a/tests/files/sections.fountain.html b/tests/files/sections.fountain.html
index d06decb..df46c11 100644
--- a/tests/files/sections.fountain.html
+++ b/tests/files/sections.fountain.html
@@ -1,6 +1,6 @@
-<h1>First level</h1>
-<h2>Second level</h2>
-<h6>EXT. STREET - DAWN</h6>
+<h1>First level</h1><span class="h1-synopsis">Synopsis for level one.</span>
+<h2>Second level</h2><span class="h2-synopsis">Synopsis for level two.</span>
+<h6>EXT. STREET - DAWN</h6><span class="h6-synopsis">Synopsis for the street scene</span>
<div class="action"><p>DAWN walks down the street.</p></div>
<h2>Second level again</h2>
<h6>EXT. ALLEY - CONTINUOUS</h6>