From df5244fd486c20fa6125d371898c211906eed58b Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Sat, 25 Apr 2009 00:29:58 +0000 Subject: HTML writer: wrap sections in divs. Resolves Issue #70. + 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 --- tests/s5.basic.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'tests/s5.basic.html') diff --git a/tests/s5.basic.html b/tests/s5.basic.html index 44dee9d8e..bb2b25ae3 100644 --- a/tests/s5.basic.html +++ b/tests/s5.basic.html @@ -276,24 +276,24 @@ window.onload=startup;window.onresize=function(){setTimeout('fontScale()',50);}
-

My S5 Document

Sam Smith, Jen Jones

July 15, 2006

-

First slide

-

Math