aboutsummaryrefslogtreecommitdiff
path: root/src/templates/Makefile
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-07-07 03:52:10 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-07-07 03:52:10 +0000
commit5a0ce1bcac4feebfd62696386313b589d0cd122c (patch)
treeb3389beb118bbcf2df8184ff6c290228723b2be5 /src/templates/Makefile
parent0a250edfde0bca1b7700f36acb4b757a16782394 (diff)
downloadpandoc-5a0ce1bcac4feebfd62696386313b589d0cd122c.tar.gz
Changes to HTML writer to incorporate automatic identifiers for
headers and table of contents: + WriterState now includes a list of header identifiers and a table of contents in addition to notes. + The function uniqueIdentifiers creates a list of unique identifiers from a list of inline lists (e.g. headers). + This list is part of WriterState and gets consumed by blockToHtml each time a header is encountered. + Headers are now printed with unique identifiers based on their names, e.g. Shell_scripts for "# Shell scripts". Fancy stuff like links, italics, etc. gets ignored. A numerical index is added to the end if there is already an identifier by the same name, e.g. "Shell_scripts1". + Provision has been made for a table-of-contents block element, but this has not yet been added. git-svn-id: https://pandoc.googlecode.com/svn/trunk@630 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'src/templates/Makefile')
0 files changed, 0 insertions, 0 deletions