aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/HTML.hs
AgeCommit message (Collapse)AuthorFilesLines
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.
2011-02-04Improved HTML table output (line breaks).John MacFarlane1-9/+17
2011-02-04More changes to HTML output.John MacFarlane1-25/+23
Removed blank lines. More consistent format.
2011-02-04HTML writer: Spacing adjustments for Plain and RawHtml blocks.John MacFarlane1-0/+2
2011-02-04Improved new HTML format; restored original --no-wrap behavior.John MacFarlane1-52/+76
2011-02-04HTML writer: More normal line breaks.John MacFarlane1-25/+29
Also removes any distinction between --no-wrap and default HTML output. Resolves Issue #134.
2011-01-29HTML writer: avoid doubled <code> tag for highlighted inline code.John MacFarlane1-4/+5
2011-01-29Fixed highlighting for inline code.John MacFarlane1-2/+2
highlightHtml in Highlighting now has a boolean argument that selects between inline and block content. Revised tests for new highlighting-kate.
2011-01-26Add support for attributes in inline Code.John MacFarlane1-5/+12
Additional related changes: * URLs in Code in autolinks now use class "url". * Require highlighting-kate 0.2.8.2, which omits the final <br/> tag, essential for inline code.
2011-01-26Bumped version to 1.8; depend on pandoc-types 1.8.John MacFarlane1-9/+11
The old TeX, HtmlInline and RawHtml elements have been removed and replaced by generic RawInline and RawBlock elements. All modules updated to use the new raw elements.
2011-01-15HTML writer: Add ids to <section> tags.John MacFarlane1-1/+2
2011-01-11Improvements to --html5 support:John MacFarlane1-13/+36
+ <nav> for TOC, <figure> for figures, type attribute in <ol>. + Don't add math javascript in html5. + Use style attributes instead of deprecated width, align. + html template: move <title> after <meta>. Note: charset needs to be declared before title. + slidy and s5 templates: move <title> after <meta>. + html template: Added link to html5 shim for IE. + Make --html5 have an effect only for 'html' writer (not s5, slidy, epub).
2011-01-11Preliminary support for HTML5.John MacFarlane1-1/+4
+ Added writerHtml5 writer option. + Added --html5 option. + Added support for lang in html tag (so you can do 'pandoc -s --V lang=en', for example). + Updated html template with conditionals for HTML5. + When HTML5 selected, use <header> tag around title in document, and use <section> tags instead of <div>s if --section-divs specified.
2010-12-03removed support for textile Inserted constructPaul Rivier1-2/+0
2010-12-03Basic Textile Readerpaul.rivier1-0/+2
2010-10-31--mathjax: Use mathjax with raw latex rather than mathml.John MacFarlane1-12/+4
It seems to work better, and the default config can be used.
2010-10-26Added support for MathJax for displaying math in HTML.John MacFarlane1-2/+15
Added --mathjax option. Added MathJax to HTMLMathMethod. Supported MathJax in HTML writer. Resolves Issue #259.
2010-08-01gladTeX HTML - specify ENV for display or inline.John MacFarlane1-1/+3
Thanks to Jonathan Daugherty for the patch. The gladTeX program gives finer control over the LaTeX environment used to render its input. The latest version (1.1) uses the "displaymath" environment by default, which is nice for large, block-level equations, but it isn't so nice for inline math (where "math" is more appropriate). This patch causes the HTML writer to differentiate between the two by explicitly setting the LaTeX environment on the generated EQ tag.
2010-07-22Improved cutUp function, removed extra </div>John MacFarlane1-10/+12
2010-07-22Moved s5 writing from S5 module to HTML.John MacFarlane1-6/+4
Now s5 is handled in more or less the same way as slidy, as a variant of HTML.
2010-07-22Slidy writer: Avoid spurious blank page.John MacFarlane1-1/+5
2010-07-18Slidy writer: create new slide at every level 1 header.John MacFarlane1-1/+4