7a9832166e
Previously the HTML writer was exceptional in not being sensitive to the `--wrap` option. With this change `--wrap` now works for HTML. The default (as with other formats) is automatic wrapping to 72 columns. A new internal module, T.P.Writers.Blaze, exports `layoutMarkup`. This converts a blaze Html structure into a doclayout Doc Text. In addition, we now add a line break between an `img` tag and the associated `figcaption`. Note: Output is never wrapped in `writeHtmlStringForEPUB`. This accords with previous behavior since previously the HTML writer was insensitive to `--wrap` settings. There's no real need to wrap HTML inside a zipped container. Note that the contents of script, textarea, and pre tags are always laid out with the `flush` combinator, so that unwanted spaces won't be introduced if these occur in an indented context in a template. Closes #7764.
67 lines
2.4 KiB
HTML
67 lines
2.4 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta http-equiv="Content-Style-Type" content="text/css" />
|
|
<meta name="generator" content="pandoc" />
|
|
<meta name="version" content="S5 1.1" />
|
|
<meta name="author" content="Sam Smith" />
|
|
<meta name="version" content="S5 1.1" />
|
|
<meta name="author" content="Jen Jones" />
|
|
<meta name="date" content="2006-07-15" />
|
|
<title>My S5 Document</title>
|
|
<style type="text/css">
|
|
code{white-space: pre-wrap;}
|
|
span.smallcaps{font-variant: small-caps;}
|
|
span.underline{text-decoration: underline;}
|
|
div.column{display: inline-block; vertical-align: top; width: 50%;}
|
|
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
|
|
ul.task-list{list-style: none;}
|
|
</style>
|
|
<!-- configuration parameters -->
|
|
<meta name="defaultView" content="slideshow" />
|
|
<meta name="controlVis" content="hidden" />
|
|
<!-- style sheet links -->
|
|
<link rel="stylesheet" href="s5/default/slides.css" type="text/css" media="projection" id="slideProj" />
|
|
<link rel="stylesheet" href="s5/default/outline.css" type="text/css" media="screen" id="outlineStyle" />
|
|
<link rel="stylesheet" href="s5/default/print.css" type="text/css" media="print" id="slidePrint" />
|
|
<link rel="stylesheet" href="s5/default/opera.css" type="text/css" media="projection" id="operaFix" />
|
|
<!-- S5 JS -->
|
|
<script src="s5/default/slides.js" type="text/javascript"></script>
|
|
<script
|
|
src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml-full.js"
|
|
type="text/javascript"></script>
|
|
</head>
|
|
<body>
|
|
<div class="layout">
|
|
<div id="controls"></div>
|
|
<div id="currentSlide"></div>
|
|
<div id="header"></div>
|
|
<div id="footer">
|
|
<h1>July 15, 2006</h1>
|
|
<h2>My S5 Document</h2>
|
|
</div>
|
|
</div>
|
|
<div class="presentation">
|
|
<div class="title-slide slide">
|
|
<h1 class="title">My S5 Document</h1>
|
|
<h3 class="author">Sam Smith<br/>Jen Jones</h3>
|
|
<h4 class="date">July 15, 2006</h4>
|
|
</div>
|
|
<div id="first-slide" class="slide section level1">
|
|
<h1>First slide</h1>
|
|
<ul class="incremental">
|
|
<li>first bullet</li>
|
|
<li>second bullet</li>
|
|
</ul>
|
|
</div>
|
|
<div id="math" class="slide section level1">
|
|
<h1>Math</h1>
|
|
<ul class="incremental">
|
|
<li><span class="math inline">\(\frac{d}{dx}f(x)=\lim_{h\to
|
|
0}\frac{f(x+h)-f(x)}{h}\)</span></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|