summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Markdown writer: Tables now sensitive to table extension options.John MacFarlane2012-08-05
| | | | | | | | | Ext_simple_table, Ext_multiline_tables, Ext_pipe_tables. Simple tables are preferred over pipe tables when both are enabled. If no appropriate table style is available, a raw HTML table is used. So far there is no option for output of grid tables.
* Documented styles used in reference docxJohn MacFarlane2012-08-05
|
* Started making markdown table writer sensitive to options.John MacFarlane2012-08-05
| | | | So far incomplete.
* Don't include empty captions in figures.John MacFarlane2012-08-04
| | | | Closes #581.
* Markdown reader: look for raw html/latex blocks before tables.John MacFarlane2012-08-04
| | | | | | | | | | | Otherwise the following gets parsed as a table: \begin{code} -------------- -- My comment. \end{code} Closes #578.
* Don't use escaped line breaks in plain output.John MacFarlane2012-08-02
|
* Made markdown writer sensitive to Ext_subscript/superscript/strikeout.John MacFarlane2012-08-02
| | | | HTML is used if these are disabled.
* Made markdown writer sensitive to Ext_definition_lists.John MacFarlane2012-08-02
| | | | | IF not set, definition lists will be rendered as regular paragraphs, with the term set off by a line break.
* Made markdown writer sensitive to Ext_startnum, Ext_fancy_lists.John MacFarlane2012-08-02
|
* Made markdown reader sensitive to Ext_raw_tex.John MacFarlane2012-08-02
|
* Made markdown writer sensitive to Ext_table_captions.John MacFarlane2012-08-02
|
* Made markdown writer sensitive to Ext_pandoc_title_blocks.John MacFarlane2012-08-02
|
* Made markdown writer sensitive to Ext_footnotes.John MacFarlane2012-08-02
| | | | | If footnotes not enabled, footnotes are formatted like normal markdown paragraphs, with a marker like [3].
* Markdown reader: Import <> from Text.Pandoc.Builder.John MacFarlane2012-08-02
| | | | | This way the module will work with versions of Data.Monoid that don't export <>.
* Made F a newtype, moved definitions to Parser.John MacFarlane2012-08-02
| | | | Parser now exports F(..), askF, asksF, runF.
* Improved implementation of pipe tables.John MacFarlane2012-08-01
|
* Parsing: removed duplication of Key and Key'.John MacFarlane2012-08-01
| | | | | | | 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.
* Major rewrite of markdown reader.John MacFarlane2012-08-01
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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).
* Removed commented-out pandoc2 code.John MacFarlane2012-07-27
| | | | This will be developed in a branch, noreparsing.
* Parser: Changed types to use type alias Parser, not Parsec.John MacFarlane2012-07-27
|
* Updated extension labels in README.John MacFarlane2012-07-27
|
* Commented out extensions that don't yet do anything.John MacFarlane2012-07-27
|
* Removed deprecated writerXeTeX.John MacFarlane2012-07-27
|
* Markdown reader: Added sensitivity to Ext_example_lists.John MacFarlane2012-07-27
|
* More documentation of extensionsJohn MacFarlane2012-07-27
|
* Markdown reader: Check fancy_lists and startnum extensions.John MacFarlane2012-07-27
|
* Started documenting individual syntax extensions in README.John MacFarlane2012-07-27
|
* Benchmark: default to sample size of 20 for speed.John MacFarlane2012-07-27
|
* Use README + testsuite in benchmarks.John MacFarlane2012-07-27
|
* Added --disable and --enable options for markdown extensions.John MacFarlane2012-07-27
|
* Replaced writerStrict with writerExtensions in WriterOptions.John MacFarlane2012-07-27
| | | | | Still have not implemented individual tests for all the extensions in the markdown writer.
* Moved WriterOptions and associated types Shared -> Options.John MacFarlane2012-07-26
|
* Fixed whitespace errors.John MacFarlane2012-07-26
|
* Textile reader: Replace failIfStrict with guardEnabled.John MacFarlane2012-07-26
|
* Parsing: Removed failIfStrict.John MacFarlane2012-07-26
|
* Use readerExtensions instead of readerStrict in readers.John MacFarlane2012-07-26
| | | | Test individually for the extensions.
* Parsing: Added guardEnabled, guardDisabled.John MacFarlane2012-07-26
|
* pandoc: Set readerExtensions instead of readerStrict.John MacFarlane2012-07-26
|
* Revert "Require Cabal 0.14."John MacFarlane2012-07-26
| | | | | | | This reverts commit f6cc63de41f3b56d6c913981a85380b146719258. Older versions of cabal supposedly just ignore the benchmark stanza.
* Require Cabal 0.14.John MacFarlane2012-07-26
|
* Bump version to 1.10.John MacFarlane2012-07-26
|
* Added type signature.John MacFarlane2012-07-26
|
* Updated INSTALL for new test/benchmarks.John MacFarlane2012-07-26
|
* Changed travis instructions for new test.John MacFarlane2012-07-26
|
* Integrated test suite with cabal.John MacFarlane2012-07-26
| | | | | | | | To run tests, configure with --enable-tests, then 'cabal test'. You can specify particular tests using --test-options='-t markdown'. No output is shown unless tests fail. In the future, we can move to the detailed-1.0 interface.
* Integrated benchmark into cabal.John MacFarlane2012-07-26
| | | | | | | Can now do: cabal configure --enable-benchmarks && cabal build cabal bench --benchmark-option='markdown' --benchmark-option='-s 20'
* Moved tests to tests/, modified cabal file so lib isn't recompiled.John MacFarlane2012-07-26
|
* Fixed MakeManPage for new reader signature.John MacFarlane2012-07-26
|
* Fixed Benchmark to compile with latest changes.John MacFarlane2012-07-25
|
* Changed reader parameters from ParserState to ReaderOptions.John MacFarlane2012-07-25
|