Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-07-25 | Changed reader parameters from ParserState to ReaderOptions. | John MacFarlane | 8 | -49/+32 | |
2012-07-25 | Restored stateStandalone as readerStandalone. | John MacFarlane | 2 | -2/+7 | |
It is indeed needed by the RST reader. | |||||
2012-07-25 | Moved stateApplyMacros, stateIndentedCodeClasses to ReaderOptions. | John MacFarlane | 3 | -17/+18 | |
2012-07-25 | stateCitations -> readerCitations. | John MacFarlane | 3 | -4/+4 | |
2012-07-25 | Moved stateLiterateHaskell to readerLiterateHaskell in Options. | John MacFarlane | 3 | -20/+26 | |
2012-07-25 | Got rid of stateStandalone, which was hardly used anyway. | John MacFarlane | 2 | -5/+1 | |
The only possible effect will be with rst fragments that begin with an rst title block, which will now cause the header transform. | |||||
2012-07-25 | Moved stateOldDashes to readerOldDashes in ReaderOptions. | John MacFarlane | 3 | -10/+12 | |
2012-07-25 | Moved stateTabStop to readerTabStop in ReaderOptions. | John MacFarlane | 4 | -13/+9 | |
2012-07-25 | Moved stateColumns to readerColumns in ReaderOptions. | John MacFarlane | 2 | -3/+3 | |
2012-07-25 | Moved ParseRaw from ParserState to ReaderOptions. | John MacFarlane | 6 | -18/+21 | |
2012-07-25 | Text.Pandoc.Parsing: Added getOption. | John MacFarlane | 1 | -4/+6 | |
2012-07-25 | Options -> ReaderOptions. | John MacFarlane | 5 | -26/+26 | |
Better to keep reader and writer options separate. | |||||
2012-07-25 | Put smart, strict in separate options field in state. | John MacFarlane | 6 | -23/+45 | |
This is the beginning of a larger transition that will make Options, not ParserState, the parameter of the read functions. (Options will also be used in writers, in place of WriterOptions.) Next step is to remove strict, replacing it with granular tests for different extensions. | |||||
2012-07-25 | Added Text.Pandoc.Options. | John MacFarlane | 1 | -0/+50 | |
2012-07-24 | Better algorithm for oneOfStrings. | John MacFarlane | 1 | -2/+9 | |
This goes character by character, not backtracking. | |||||
2012-07-24 | Slightly more efficient normalizeSpaces. | John MacFarlane | 1 | -6/+5 | |
2012-07-24 | HTML reader: Fixed bug in htmlBalanced. | John MacFarlane | 1 | -2/+1 | |
This caused hangs in parsing certain markdown input using --strict. | |||||
2012-07-24 | Don't require strict HTML blocks to begin at left margin. | John MacFarlane | 1 | -3/+1 | |
Technically this is required, according to the mardkown syntax document, but Markdown.pl and other markdown processors are more liberal. | |||||
2012-07-24 | Use catch from Control.Exception to avoid warnings. | John MacFarlane | 3 | -7/+12 | |
2012-07-24 | Text.Pandoc: writers now an assoc list of String, Writer. | John MacFarlane | 1 | -54/+57 | |
A Writer can be a PureStringWriter, an IOStringWriter, or an IOByteStringWriter. ALL writers are now in the 'writers' list, including the binary writers and fb2 writer. Code simplified at end of pandoc.hs. | |||||
2012-07-24 | Changed signatures of writeODT, writeDocx, writeEPUB. | John MacFarlane | 3 | -14/+10 | |
These now take WriterOptions and Pandoc only. The extra parameters for epub stylesheet, epub fonts, reference Docx, and reference ODT have been removed, since these things are now in WriterOptions. Note: breaking API change! | |||||
2012-07-24 | Added fields to WriterOptions. | John MacFarlane | 1 | -0/+8 | |
writerEpubStylesheet, writerEpubFonts, writerReferenceODT, writerReferenceDocx. These can now be removed as extra parameters to the writers. | |||||
2012-07-24 | Small fix to fix: Allow blank lines btw table and caption. | John MacFarlane | 1 | -0/+1 | |
2012-07-24 | Fixed performance improvement to tables. | John MacFarlane | 1 | -1/+1 | |
2012-07-24 | More performance improvements on pipe tables. | John MacFarlane | 1 | -2/+1 | |
2012-07-24 | Refactored table parsers, captions now not part of core tableWith. | John MacFarlane | 3 | -21/+21 | |
2012-07-24 | Slight improvement to performance for pipe tables. | John MacFarlane | 1 | -11/+16 | |
Still, pipe tables are a huge performance drag. One benchmark: With pipe tables, 1.25 sec (including this fix). without pipe tables, 1.05 sec. | |||||
2012-07-23 | Set writerTableOfContents for s5 in Text.Pandoc, not pandoc.hs. | John MacFarlane | 1 | -1/+2 | |
2012-07-23 | Set writerSlideVariant in Text.Pandoc rather than pandoc.hs. | John MacFarlane | 1 | -4/+9 | |
2012-07-22 | Revised code for pipe tables. | John MacFarlane | 2 | -99/+55 | |
* All tables now require at least one body row. * Renamed from 'extra' to 'pipe' tables. * Moved functions from Parsing to Readers.Markdown. * Cleaned up code; revised to parse in one pass rather than parsing a raw string, splitting it, and parsing the components. * Allow pipe tables without pipes on the ends (as PHP Markdown Extra does). | |||||
2012-07-22 | Merge pull request #510 from mytskine/markdown-extra | John MacFarlane | 2 | -1/+102 | |
Markdown extra tables [part of the multi-markdown syntax for tables] | |||||
2012-07-22 | FB2: support images embedded as data URIs + tests. | Sergey Astanin | 1 | -12/+58 | |
2012-07-22 | Added a new FictionBook2 (FB2) writer. | Sergey Astanin | 2 | -8/+587 | |
2012-07-20 | Use Parsec directly in Biblio and Templates. | John MacFarlane | 2 | -16/+16 | |
2012-07-20 | Use Parser as type synonym for Parsec. | John MacFarlane | 10 | -322/+324 | |
2012-07-20 | Text.Pandoc.Parsing: Export all Parsec functions used in pandoc code. | John MacFarlane | 10 | -14/+57 | |
No other module directly imports Parsec. This will make it easier to change the parsing backend in the future, if we want to. | |||||
2012-07-20 | Use Text.Parsec instead of Text.ParserCombinators.Parsec. | John MacFarlane | 10 | -442/+442 | |
2012-07-19 | Provide Data.Default instances for ParserState and WriterOptions. | John MacFarlane | 3 | -3/+14 | |
Now you can use def (which is re-exported by Text.Pandoc) instead of defaultParserState or defaultWriterOptions. For now, these are still defined too, so existing code need not change. Closes #546. | |||||
2012-07-16 | Don't recognize inline-markup starts inside words. | John MacFarlane | 1 | -8/+17 | |
For example, "2*2 = 4*1" should not contain an emphasized section. Added test case for "Literal symbols". Closes #569. | |||||
2012-07-13 | Textile reader: properly handle links with surrounding brackets. | John MacFarlane | 1 | -3/+16 | |
Square brackets need to be used when the link isn't surrounded by spaces or punctuation, or when the URL ending may be ambiguous. Closes #564. | |||||
2012-07-11 | HTML writer: Put mathjax in span with class "math". | John MacFarlane | 1 | -1/+1 | |
Closes #562. | |||||
2012-06-30 | Pretty: Added wide punctuation range to charWidth. | John MacFarlane | 1 | -1/+3 | |
Fixes bug with Chinese commas in tables. | |||||
2012-06-29 | Changed macro parser so it returns raw macro if stateApplyMacros false. | John MacFarlane | 1 | -5/+8 | |
Closes #554. | |||||
2012-06-28 | SelfContained: Fix handling of absolute URLs in css imports. | John MacFarlane | 1 | -1/+5 | |
Also allow single-quoted values. Closes #535. | |||||
2012-06-28 | Added webm to mime types. Closes #543. | John MacFarlane | 1 | -0/+1 | |
2012-06-27 | ConTeXt writer: don't escape `&`,`^`,`<`,`>`. | John MacFarlane | 1 | -6/+2 | |
Simplified escapes for `}` and `{` to `\{` and `\}`. Thanks to Aditya Mahajan. | |||||
2012-06-27 | MediaWiki writer: Avoid extra blank lines after sublists. | John MacFarlane | 1 | -3/+6 | |
Thanks to Gavin Beatty. | |||||
2012-06-26 | Don't escape `_` as `\letterunderscore{}` in ConTeXt. | John MacFarlane | 1 | -1/+0 | |
2012-06-26 | Docbook reader: Added support for "bold" emphasis. | John MacFarlane | 1 | -0/+1 | |
Thanks to mb21. | |||||
2012-06-25 | Don't generate empty H1 after hrule slide breaks. | John MacFarlane | 3 | -5/+11 | |
We now use a slide-level header with contents [Str "\0"] to mark an hrule break. This avoids creation of an empty H1 in these contexts. Closes #484. |