Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-01-30 | UTF8 module: Use base 4.2 IO if available. | John MacFarlane | 1 | -1/+44 | |
This gives us proper line endings on windows, and some speed improvements. We fall back to the old functions if base < 4.2. hGetContents is now exported. | |||||
2011-01-30 | pandoc.hs: Simplified code for writing result. | John MacFarlane | 1 | -18/+14 | |
2011-01-30 | LaTeX reader: Fixed bug with whitespace at beginning of file. | John MacFarlane | 2 | -2/+11 | |
Previously a file beginning " hi" would cause a parse error. Also cleaned up comment parsing. | |||||
2011-01-29 | Markdown reader tables: Fixed bug in alignments. | John MacFarlane | 1 | -4/+5 | |
Previously pandoc got confused by blank rows in the header. | |||||
2011-01-29 | Highlighting: Fixed non-highlighting-kate version of highlightHtml. | John MacFarlane | 1 | -2/+2 | |
2011-01-29 | Added HTML writer tests for inline code. | John MacFarlane | 2 | -0/+43 | |
2011-01-29 | HTML writer: avoid doubled <code> tag for highlighted inline code. | John MacFarlane | 1 | -4/+5 | |
2011-01-29 | Fixed highlighting for inline code. | John MacFarlane | 2 | -4/+8 | |
highlightHtml in Highlighting now has a boolean argument that selects between inline and block content. Revised tests for new highlighting-kate. | |||||
2011-01-29 | Moved tests to src. | John MacFarlane | 10 | -0/+868 | |
2011-01-29 | Shared: Fixed bug in normalize revealed by tests! | John MacFarlane | 1 | -4/+5 | |
2011-01-28 | Support --listings in markdown2pdf (Etienne Millon). | John MacFarlane | 1 | -1/+1 | |
2011-01-28 | Add possibility to use listings package for code blocks and | Josef Svenningsson | 3 | -9/+51 | |
inline code in the LaTeX writer. | |||||
2011-01-28 | RST reader: skip blanklines at beginning, not all leading spaces. | John MacFarlane | 1 | -1/+1 | |
If you skip all spaces, it becomes impossible to start with a blockquote. | |||||
2011-01-28 | Shared: Make 'normalize' more generic. | John MacFarlane | 1 | -1/+1 | |
Now it can transform an Inline, [Inline], Block, [Block], or Pandoc. | |||||
2011-01-28 | RST reader: Skip blank space at beginning. | John MacFarlane | 1 | -0/+1 | |
Resolves Debian Bug #611328. | |||||
2011-01-28 | RTF writer: Embed images when possible. | John MacFarlane | 3 | -7/+34 | |
* Resolves Issue #275. * PNG and JPEG supported. * Export rtfEmbedImage. | |||||
2011-01-26 | Add support for attributes in inline Code. | John MacFarlane | 21 | -77/+99 | |
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-26 | RST reader: Improved field lists. | John MacFarlane | 1 | -59/+56 | |
Field lists now work properly with block content. (Thanks to Lachlan Musicman for pointing out the bug.) In addition, definition list items are now always Para instead of Plain -- which matches behavior of rst2xml.py. Finally, in image blocks, the alt attribute is parsed properly and used for the alt, not also the title. | |||||
2011-01-26 | LaTeX reader: Fixed an incomplete pattern match. | John MacFarlane | 1 | -1/+3 | |
2011-01-26 | RST reader: Include line breaks in raw field list parser output. | John MacFarlane | 1 | -1/+3 | |
Note: field list items can have lists, etc. as values. | |||||
2011-01-26 | RST reader: Allow spaces in field list names. | John MacFarlane | 1 | -1/+1 | |
2011-01-26 | Adjusted writers to use "tex". | John MacFarlane | 5 | -8/+9 | |
2011-01-26 | Markdown reader: Don't parse latex/context environments as inline. | John MacFarlane | 1 | -9/+15 | |
2011-01-26 | Distinguish latex & context environments; blank line after in writers. | John MacFarlane | 3 | -7/+6 | |
2011-01-26 | Bumped version to 1.8; depend on pandoc-types 1.8. | John MacFarlane | 21 | -91/+118 | |
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-23 | Added needed space after .bc and .bq. | John MacFarlane | 1 | -15/+15 | |
Otherwise these can trap a </dd>, for example. Better solution to try next: rewrite using Pretty. | |||||
2011-01-23 | Textile writer: Don't escape code in bc. block. | John MacFarlane | 1 | -1/+1 | |
2011-01-23 | Textile writer: Don't HTML-escape between @'s. | John MacFarlane | 2 | -2/+2 | |
2011-01-23 | Textile reader: Fixed bug (swallowed p at beginning of paragraph). | John MacFarlane | 1 | -3/+3 | |
The problem was a missing 'try' in the maybeExplicitBlock parser. Test case, a paragraph beginning with 'p', has been added. | |||||
2011-01-23 | Textile writer: Use <pre> instead of bc.. for code with blank lines. | John MacFarlane | 1 | -5/+8 | |
This has fewer interaction effects. | |||||
2011-01-23 | Textile reader: Support <tt> for inline code. | John MacFarlane | 1 | -3/+11 | |
2011-01-23 | Textile reader: Added code blocks with bc. | John MacFarlane | 1 | -2/+11 | |
2011-01-23 | Default to textile writer on .textile extension. | John MacFarlane | 1 | -0/+1 | |
2011-01-22 | ConTeXt writer: Ensure cr after \stoptyping. | John MacFarlane | 1 | -1/+1 | |
2011-01-22 | Text.Pandoc: Added jsonFilter for easy construction of scripts. | John MacFarlane | 1 | -0/+7 | |
Here's an example of its use: -- removelinks.hs - removes links from document import Text.Pandoc main = interact $ jsonFilter $ bottomUp removeLink removeLink :: Inline -> Inline removeLink (Link xs _) = Emph xs removeLink x = x | |||||
2011-01-22 | Markdown reader: slight speedup by moving whitespace parser. | John MacFarlane | 1 | -2/+2 | |
2011-01-22 | RST reader: Big speed improvement (300->260ms). | John MacFarlane | 1 | -2/+2 | |
Moved whitespace parser to top of inline parsers. | |||||
2011-01-22 | ConTeXt writer: Don't add cr at end of inline footnote. | John MacFarlane | 1 | -1/+1 | |
2011-01-21 | Make sure native output ends in newline with --standalone. | John MacFarlane | 1 | -1/+1 | |
2011-01-21 | Haddock comment improvements. | John MacFarlane | 2 | -2/+7 | |
2011-01-20 | Added --normalize option. | John MacFarlane | 1 | -1/+7 | |
2011-01-20 | Markdown writer: Avoid printing excess spaces at end if no notes/refs. | John MacFarlane | 1 | -1/+2 | |
2011-01-20 | Native writer: eliminated empty spaces in brackets. | John MacFarlane | 1 | -2/+3 | |
2011-01-20 | Export readNative in Text.Pandoc.Shared. | John MacFarlane | 1 | -0/+1 | |
2011-01-20 | Improved native writer using Pretty. | John MacFarlane | 1 | -48/+32 | |
2-3X speed improvement and more consistent layout. | |||||
2011-01-19 | Made writeNative sensitive to writerStandalone. | John MacFarlane | 1 | -4/+7 | |
The Pandoc (Meta ...) is not written unless standalone is set. | |||||
2011-01-19 | Added Text.Pandoc.Readers.Native (readNative). | John MacFarlane | 2 | -1/+82 | |
readNative can now read full pandoc documents, block lists, blocks, inline lists, or inlines. It will interpret Str "hi" as if it were Pandoc (Meta [] [] []) [Plain [Str "hi"]] This should make testing easier. | |||||
2011-01-19 | Use spaceChar instead of oneOf " \t" in rst reader. | John MacFarlane | 1 | -5/+5 | |
2011-01-19 | Replaced more noneOf/oneOf parsers. | John MacFarlane | 1 | -5/+11 | |
2011-01-19 | Replaced uses of oneOf with more efficient parsers. | John MacFarlane | 1 | -12/+19 | |
This speeds up the markdown reader. |