Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-08-02 | Made markdown reader sensitive to Ext_raw_tex. | John MacFarlane | 1 | -2/+3 | |
2012-08-02 | Made markdown writer sensitive to Ext_table_captions. | John MacFarlane | 1 | -1/+1 | |
2012-08-02 | Made markdown writer sensitive to Ext_pandoc_title_blocks. | John MacFarlane | 1 | -1/+2 | |
2012-08-02 | Made markdown writer sensitive to Ext_footnotes. | John MacFarlane | 1 | -4/+10 | |
If footnotes not enabled, footnotes are formatted like normal markdown paragraphs, with a marker like [3]. | |||||
2012-08-02 | Markdown reader: Import <> from Text.Pandoc.Builder. | John MacFarlane | 1 | -2/+2 | |
This way the module will work with versions of Data.Monoid that don't export <>. | |||||
2012-08-02 | Made F a newtype, moved definitions to Parser. | John MacFarlane | 2 | -21/+37 | |
Parser now exports F(..), askF, asksF, runF. | |||||
2012-08-01 | Improved implementation of pipe tables. | John MacFarlane | 1 | -25/+14 | |
2012-08-01 | Parsing: removed duplication of Key and Key'. | John MacFarlane | 3 | -56/+28 | |
Now we just use the former Key' (string contents), renamed Key. lookupKeySrc and fromKey are no longer eport. Key', toKey' and KeyTable' have become Key, toKey, and KeyTable. | |||||
2012-08-01 | Major rewrite of markdown reader. | John MacFarlane | 3 | -406/+598 | |
* Use Builder's Inlines/Blocks instead of lists. * Return values in the reader monad, which are then run (at the end of parsing) against the final parser state. This allows links, notes, and example numbers to be resolved without a second parser pass. * An effect of using Builder is that everything is normalized automatically. * New exports from Text.Pandoc.Parsing: widthsFromIndices, NoteTable', KeyTable', Key', toKey', withQuoteContext, singleQuoteStart, singleQuoteEnd, doubleQuoteStart, doubleQuoteEnd, ellipses, apostrophe, dash * Updated opendocument tests. * Don't derive Show for ParserState. * Benchmarks: markdown reader takes 82% of the time it took before. Markdown writer takes 92% of the time (here the speedup is probably due to the fact that everything is normalized by default). | |||||
2012-07-27 | Removed commented-out pandoc2 code. | John MacFarlane | 1 | -41/+0 | |
This will be developed in a branch, noreparsing. | |||||
2012-07-27 | Parser: Changed types to use type alias Parser, not Parsec. | John MacFarlane | 1 | -97/+138 | |
2012-07-27 | Commented out extensions that don't yet do anything. | John MacFarlane | 1 | -2/+3 | |
2012-07-27 | Removed deprecated writerXeTeX. | John MacFarlane | 1 | -3/+0 | |
2012-07-27 | Markdown reader: Added sensitivity to Ext_example_lists. | John MacFarlane | 2 | -1/+4 | |
2012-07-27 | Markdown reader: Check fancy_lists and startnum extensions. | John MacFarlane | 1 | -2/+6 | |
2012-07-27 | Replaced writerStrict with writerExtensions in WriterOptions. | John MacFarlane | 4 | -24/+32 | |
Still have not implemented individual tests for all the extensions in the markdown writer. | |||||
2012-07-26 | Moved WriterOptions and associated types Shared -> Options. | John MacFarlane | 21 | -140/+146 | |
2012-07-26 | Fixed whitespace errors. | John MacFarlane | 26 | -385/+385 | |
2012-07-26 | Textile reader: Replace failIfStrict with guardEnabled. | John MacFarlane | 1 | -3/+3 | |
2012-07-26 | Parsing: Removed failIfStrict. | John MacFarlane | 1 | -5/+0 | |
2012-07-26 | Use readerExtensions instead of readerStrict in readers. | John MacFarlane | 3 | -123/+118 | |
Test individually for the extensions. | |||||
2012-07-26 | Parsing: Added guardEnabled, guardDisabled. | John MacFarlane | 1 | -3/+14 | |
2012-07-26 | pandoc: Set readerExtensions instead of readerStrict. | John MacFarlane | 1 | -2/+3 | |
2012-07-25 | Changed reader parameters from ParserState to ReaderOptions. | John MacFarlane | 7 | -22/+24 | |
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 | 2 | -17/+17 | |
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 | 5 | -23/+42 | |
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 | 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-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). |