df5244fd48
+ hierarchicalize has been rationalized; it builds a hierarchical representation of the document from the headers, and simultaneously gives each section a unique identifier based on the heading title. + Identifiers are now attached to the divs rather than to the headers themselves. + Table of content backlinks go to the beginning of the table, rather than to the section reference that was clicked. This seems better. + Code for constructing identifiers has been moved to Text.Pandoc.Shared from the HTML writer, since it is now consumed only by hierarchicalize. + In --strict mode, pandoc just prints bare headings, as before (unless --toc has been specified). + In s5 output, it does not wrap sections in divs, as that seems to confuse the s5 javascript. + Test suite updated accordingly. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1562 788f1e2b-df1e-0410-8736-df70ead52e1b
45 lines
478 B
HTML
45 lines
478 B
HTML
<div id="first-slide"
|
|
><h1
|
|
>First slide</h1
|
|
><ul
|
|
><li
|
|
>first bullet</li
|
|
><li
|
|
>second bullet</li
|
|
></ul
|
|
></div
|
|
><div id="math"
|
|
><h1
|
|
>Math</h1
|
|
><ul
|
|
><li
|
|
><span class="math"
|
|
>\frac{<em
|
|
>d</em
|
|
>}{<em
|
|
>dx</em
|
|
>}<em
|
|
>f</em
|
|
>(<em
|
|
>x</em
|
|
>)=\lim<sub
|
|
><em
|
|
>h</em
|
|
> → 0</sub
|
|
>\frac{<em
|
|
>f</em
|
|
>(<em
|
|
>x</em
|
|
>+<em
|
|
>h</em
|
|
>)-<em
|
|
>f</em
|
|
>(<em
|
|
>x</em
|
|
>)}{<em
|
|
>h</em
|
|
>}</span
|
|
></li
|
|
></ul
|
|
></div
|
|
>
|