diff options
author | B. Scott Michel <scooter.phd@gmail.com> | 2011-09-06 20:48:33 -0700 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2011-12-30 13:10:15 -0800 |
commit | a5ee02c659e8bc4030c9b7b5ceafb846e2bc4e77 (patch) | |
tree | c53f8d8c196f5afaae6b769b6865dff061515a74 /src/Text/Pandoc/Writers/OpenDocument.hs | |
parent | 83680430b3bda2938177d5a25e917c2e3645197a (diff) | |
download | pandoc-a5ee02c659e8bc4030c9b7b5ceafb846e2bc4e77.tar.gz |
ConTeXt writer: Add section labels and internal links as in HTML.
Add the ability to refer to internal links to the ConTeXt writer, just
like the HTML writer can. The 'hierarchicalize' function generates
unique names for sections, which can be used for references in ConTeXt,
just as they can be in HTML.
The ConTeXt writer adds these unique identifiers to each \section and
does special processing of the Link target to see if it starts with a
'#' (hash symbol), which is the tip-off that the link is an internal
link.
Diffstat (limited to 'src/Text/Pandoc/Writers/OpenDocument.hs')
0 files changed, 0 insertions, 0 deletions