aboutsummaryrefslogtreecommitdiff
path: root/tests/lhs-test.html
AgeCommit message (Collapse)AuthorFilesLines
2013-09-01Use registerHeader in RST and LaTeX readers.John MacFarlane1-1/+1
This will give automatic unique identifiers, unless `-auto_identifiers` is specified.
2013-07-23Test suite changes for new highlighting-kate version.John MacFarlane1-1/+1
2013-01-26RST writer: Use `.. code:: language` for code blocks with language.John MacFarlane1-2/+2
Closes #721. Also fixed whitespace in lhs tests.
2013-01-09Added Attr field to Header.John MacFarlane1-1/+1
Previously header ids were autogenerated by the writers. Now they are generated (unless supplied explicitly) in the markdown parser, if the `header_identifiers` extension is selected. In addition, the textile reader now supports id attributes on headers.
2013-01-04Added css to preserve spaces in <code> tags.John MacFarlane1-0/+1
Thanks to Dirk Laurie.
2013-01-04Updated tests for latest highlighting-kate version.John MacFarlane1-1/+1
2012-02-04Complete rewrite of LaTeX reader.John MacFarlane1-1/+1
* The new reader is more robust, accurate, and extensible. It is still quite incomplete, but it should be easier now to add features. * Text.Pandoc.Parsing: Added withRaw combinator. * Markdown reader: do escapedChar before raw latex inline. Otherwise we capture commands like \{. * Fixed latex citation tests for new citeproc. * Handle \include{} commands in latex. This is done in pandoc.hs, not the (pure) latex reader. But the reader exports the needed function, handleIncludes. * Moved err and warn from pandoc.hs to Shared. * Fixed tests - raw tex should sometimes have trailing space. * Updated lhs-test for highlighting-kate changes.
2012-01-25Depend on highlighting-kate 0.5.John MacFarlane1-2/+3
This uses styleToCss instead of styleToHtml.
2011-12-28Preserve attributes in highlighted HTML.John MacFarlane1-1/+1
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-27Highlighting: Add language as class name.John MacFarlane1-1/+1
This restores behavior of 1.8.2.1. Adjusted tests.
2011-12-27Updated tests.John MacFarlane1-23/+21
2011-11-08Update templates to use Content-Style-Type meta tag.John MacFarlane1-0/+1
Closes #337.
2011-07-29Updated lhs tests with CDATA.John MacFarlane1-0/+2
2011-02-04Improved HTML table output (line breaks).John MacFarlane1-7/+2
2011-02-04Updated tests for new HTML format.John MacFarlane1-50/+15
Verified against old tests using tidy and diff.
2011-01-29Fixed highlighting for inline code.John MacFarlane1-15/+15
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-2/+1
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-15Fixed lhs tests for new position of <title> after <meta>s.John MacFarlane1-1/+1
2011-01-06LHS test changes for new wrapping & highlighting-kate version.John MacFarlane1-2/+14
2010-07-20Made spacing at end of output more consistent.John MacFarlane1-1/+0
Previously some of the writers added spurious whitespace. This has been removed, resolving Issue #232. NOTE: If your application combines pandoc's output with other text, for example in a template, you may need to add spacing. For example, a pandoc-generated markdown file will not have a blank line after the final block element. If you are inserting it into another markdown file, you will need to make sure there is a blank line between it and the next block element.
2010-07-16Use default highlighting CSS rather than embedding CSS in templates.John MacFarlane1-13/+12
2010-07-15Updated pandoc to use css for highlighting-kate 0.2.7.John MacFarlane1-62/+55
Note: Update any custom CSS or templates accordingly.
2009-12-31Updated lhs tests.fiddlosopher1-75/+73
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1741 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-07-03Fixed lhs test cases.fiddlosopher1-41/+43
+ Changed Setup.hs in accord with change in '--version' output. + Changed lhs test cases in accord with change in the way HTML headers are written (they are now put in divs, and the id is put on the div rather than the header itself). git-svn-id: https://pandoc.googlecode.com/svn/trunk@1588 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-02-14Updated test suites: regular paragraph before block quote.fiddlosopher1-1/+3
Note: rst writer doesn't handle block quote after code block properly. Ideally it would insert an empty comment to reset indentation. But this is not desirable in general before code blocks. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1540 788f1e2b-df1e-0410-8736-df70ead52e1b
2009-02-07Added tests for lhs writers.fiddlosopher1-0/+75
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1537 788f1e2b-df1e-0410-8736-df70ead52e1b