anchor.diff:      //log.write(markup);
       //log.close();
   %>
  -HTML Source:<br>
  -<textarea name="html" cols="80" rows="25" style="font-family: Monaco, ProFont, monospace; font-size: 10px;" readonly="readonly"><%= html %></textarea>
  -<hr/>
  -HTML Preview:
  -<div class="renderbox"><%= html %></div>
  +  <% if(showSource) { %>
  +  <p class="label">HTML Source:</p>
  +  <div>
  +  <textarea name="xhtml" rows="25" cols="80" readonly="readonly" style="font-family: Monaco, ProFont, monospace; font-size: 10px;"><%= html %></textarea>
  +  </div>
  +  <% } %>
  +  <% if(showPreview) { %>
  +  <p class="label">HTML Preview:</p>
  +  <div class="renderbox"><%= html %></div>
  +  <% } %>
   <% } %>
  +
  +<%
  +java.util.Calendar now = java.util.Calendar.getInstance();
  +int year = now.get(java.util.Calendar.YEAR);
  +%>
  +<p class='footer'>MarkdownJ 0.3.0 (compatible with Markdown 1.0.2b2)<br />
  +  Markdown and the Markdown Dingus are copyright &copy; 2004–<%= year %> John Gruber.
  +  Used with permission.</p>
  +
  +</div> <!-- app -->
  +</div> <!-- container -->
   
   </body>
   </html>
  
positive.code:                 background: #bbb;
          }
  
          .renderbox {
                  background: #EEE;
                  font-family: Georgia, serif;
                  font-size: 13px;
                  border: 1px #888 solid;
                  padding: 0 5px;
                  width: 97%;
          }
  </style>
  </head>
  
  
negative.code: </code></pre>
  </div> <!-- sidebar -->
  
  <div id="app">
  <form method="POST">
  <div>
  <p class="label">Markdown Source:</p>
  <textarea rows="25" cols="80" style="font-family: Monaco, ProFont, monospace; font-size: 10px;" name="markdown"><%= markup == null ? "" : markup %></textarea>
  
  <div id="buttonrow">
  <div style="float:left">
  <%--
  Filter:&nbsp;<select name="filter" style="font-size: 11px; margin-right: 2em;">
  <option value='markdown'>Markdown</option>
  <option value='smartypants'>SmartyPants</option>
  <option value='both'>Both</option>
  </select>
  --%>
  Results:&nbsp;<select name="view" style="font-size: 11px; margin-right: 2em;">
  <option value='source'>Source</option>
  <option value='preview'>Preview</option>
  <option value='both' selected='selected'>Source &amp; Preview</option>
  </select>
  </div>
  
  <input type="submit" name="convert" value="Convert" class="actionbutton" />
  </div> <!--buttonrow-->
  
  </div>
  </form>
  
  <% if (markup != null) {
  