aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/HTML.hs
AgeCommit message (Collapse)AuthorFilesLines
2012-02-21HTML writer: Don't escape contents of EQ tags with --gladtex.John MacFarlane1-2/+2
This fixes a regression from 1.8.x. Closes #428.
2012-02-05Removed module Text.Pandoc.CharacterReferences.John MacFarlane1-3/+2
Moved characterReference parser to Text.Pandoc.Parsing. decodeCharacterReferences is now replaced by fromEntities in Text.Pandoc.XML.
2012-01-31Don't include mathml javascript for html5 output.John MacFarlane1-1/+2
mathml is supposed to be supported in HTML5.
2012-01-28Put date in YYYY-MM-DD format if possible for HTML, docx metadata.John MacFarlane1-2/+2
Added normalizeDate to Text.Pandoc.Shared.
2012-01-25Added --slide-level option to override default.John MacFarlane1-3/+9
This allows users to select a slide level below the first header level with content. Note that content under sections above the slide level will not appear in slides (either in beamer or in HTML slide shows). This is primarily useful for creating documents that can be made into both slides and handouts (which contain additional content outside the slides).
2012-01-25Fixed regression in HTML writer: all headers level 1!John MacFarlane1-1/+3
2012-01-25Depend on highlighting-kate 0.5.John MacFarlane1-3/+3
This uses styleToCss instead of styleToHtml.
2012-01-24HTML writer: Use h1 for all slide titles.John MacFarlane1-2/+2
2012-01-24HTML writer: Use new common system for slides.John MacFarlane1-20/+16
2012-01-11HTML writer: Don't use self-closing img, br, hr tags.John MacFarlane1-7/+12
2011-12-30HTML writer: Better handling of authors in meta tags.John MacFarlane1-12/+26
Footnotes and email addresses now come out in a more pleasing way. Modified from a patch by B. Scott Michel.
2011-12-29Merge pull request #366 from gridaphobe/masterJohn MacFarlane1-2/+1
Use Link instead of RawInline for reference backlinks
2011-12-28Preserve attributes in highlighted HTML.John MacFarlane1-2/+4
The container element will have the classes, id, and key-value attributes you specified in the delimited code block. Previously these were stripped off.
2011-12-27Added `--highlight-style` and `--no-highlight` options.John MacFarlane1-2/+3
2011-12-27Replaced Apostrophe, Ellipses, EmDash, EnDash w/ unicode strings.John MacFarlane1-4/+0
2011-12-26Updated highlighting for highlighting-kate 0.4.John MacFarlane1-10/+16
Text.Pandoc.Highlighting now exports just one new function, 'highlight', and reexports all the other functions from highlighting-kate that are used in the writers. This should make it easy to switch highlighting engines if that is ever desired.
2011-12-24change reference backlink from RawInline to Link so it gets rendered ↵Eric Seidel1-2/+1
properly when using the xmlhtml package
2011-12-22Changed types of highlighting functions.John MacFarlane1-4/+4
* highlightLaTeX, highlightHtml now return Maybe, not Either. * This is because h-k's higdlightAs no longer returns an Either.
2011-12-20Added a newline at end of footnotes ol.John MacFarlane1-1/+1
2011-12-20Restore xhtml style self-closed tags in HTML writer.John MacFarlane1-9/+9
This requires blaze-html >= 0.4.3.0.
2011-12-18HTML writer: Put classes "section" and "level[1-6]" on section divs.John MacFarlane1-6/+6
(In HTML 5, the "section" class is omitted, since the tag itself is "section.")
2011-12-18HTML writer: Use `<del>` for strikeout.John MacFarlane1-1/+1
2011-12-17HTML writer: Don't escape '.John MacFarlane1-2/+3
This requires using a custom string escaper. If we use toHtml from Blaze, we get &#39;, which is pointless unless you're writing attributes in single quotes.
2011-12-17Fixed line breaks in tds in table cells.John MacFarlane1-1/+1
2011-12-17Use blaze-html instead of xhtml for HTML generation.John MacFarlane1-204/+213
* This is a breaking API change for `writeHtml`. * It introduces a new dependency on blaze-html. * Pandoc now depends on highlighting-kate >= 0.4, which also uses blaze-html. * The --ascii option has been removed, because of differences in blaze-html's and xhtml's escaping. * Pandoc will no longer transform leading newlines in code blocks to `<br/>` tags.
2011-12-04WebTeX math - use 'vertical-align:middle' for better results.John MacFarlane1-1/+2
2011-11-29S5/slidy writer: Make footnotes appear on separate slide at end.John MacFarlane1-1/+3
2011-11-29Use separate variables for meta-date, meta-author.John MacFarlane1-7/+8
This makes footnotes work in author and date fields. Closes #301.
2011-11-29HTML writer: Put citations in span with class="citation".John MacFarlane1-1/+2
See #313.
2011-11-20HTML writer: change s5-url to s5/default.John MacFarlane1-1/+1
2011-11-07HTML writer: Use `<section>` for footnotes if html5.John MacFarlane1-2/+4
2011-10-02HTML slides: only add id to div/section if --section-divs selected.John MacFarlane1-6/+5
2011-10-02Simplified slide creation in HTML writer.John MacFarlane1-26/+18
A horizontal rule now gets transformed into an empty H1 header before 'hierarchicalize' is called. If the document that does not begin with an H1 header, an empty one is provided. This avoids the need for kludgy raw HTML. Also, the 'titleslide' class is added to any section containing just a title: ---- ----
2011-10-01Added dzslides output option.John MacFarlane1-3/+9
* Added DZSlides to HTMLSlideVariant. * Added support for dzslides in HTML writer. * Added dzslides template.
2011-07-28Added s5-url and slidy-url variables, instead of hard-coding.John MacFarlane1-1/+2
If you want to put your slidy files in the slidy subdirectory, for example, you can do pandoc -t slidy -V slidy-url=slidy -s
2011-07-24HTML writer: Removed English title on footnote back links.John MacFarlane1-2/+1
This is incongruous in non-English documents.
2011-07-24Insert CDATA around inline js/css in HTML, slidy.John MacFarlane1-1/+2
2011-07-23HTML writer/templates: Made TOC more customizable.John MacFarlane1-9/+4
The container for the TOC is now in the template, so users can insert a header or other styling. Thanks to Bruce D'Arcus for the suggestion.
2011-07-16HTML writer: Use embed tag for images with non-image extensions.John MacFarlane1-1/+20
(e.g. PDFs). Closes #264.
2011-07-06Fixed bug in slidy writer: unclosed div tag.John MacFarlane1-1/+1
2011-04-16Fixed Slidy/S5 output to allow --section-divs.John MacFarlane1-30/+27
This is also a cleaner way of inserting the slide divs. Resolves Issue #296.
2011-04-16Whitespace cleanup.John MacFarlane1-45/+44
2011-04-16Allow --section-divs with slidy output.John MacFarlane1-10/+10
2011-03-28Fixed bug in footnote order in HTML.John MacFarlane1-1/+1
CircleCode pointed out that the following markdown produces out-of-order footnote markers in HTML: -8<------------------------ some text^[with a footnote which will be #1] issue some other text^[with a footnote which will be #2] -8<------------------------ This fixes the problem.
2011-02-06Revert "Use us-ascii charset in HTML template if --ascii option."John MacFarlane1-1/+0
This reverts commit aec54899606bed2580394baa1369e58ede20fde8. No need for this, since a UTF-8 charset will handle ascii just fine.
2011-02-06HTML writer: Fixed footnote backrefs in --ascii mode.John MacFarlane1-1/+2
2011-02-06Use us-ascii charset in HTML template if --ascii option.John MacFarlane1-0/+1
2011-02-06Added --ascii option.John MacFarlane1-17/+20
Currently supported only in HTML writer.
2011-02-05HTML writer: Put line breaks in section divs.John MacFarlane1-2/+4
2011-02-05HTML writer: stringify alt text.John MacFarlane1-2/+1
Previously, if you had formatting in the label of an Image element, you'd get escaped HTML in the alt attribute. Now you just get a plain string version, which seems preferable.