summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc.hs
Commit message (Collapse)AuthorAge
* Added basic mediawiki reader.John MacFarlane2012-09-12
| | | | | Text.Pandoc.Readers.MediaWiki module, tests/mediawiki-reader.{txt,native}.
* Changed strict to markdown_strict.John MacFarlane2012-08-09
|
* Fixed handling of default extensions, so they don't override +options.John MacFarlane2012-08-09
|
* Removed `--strict`, added extensions to writer/reader names.John MacFarlane2012-08-09
| | | | | | | | | | | | * The `--strict` option has been removed. * Instead of using `--strict`, one can now use `strict` instead of `markdown` as an input or output format name. * The `--enable` and `--disable` optinos have been removed. * It is now possible to enable or disable specific extensions by appending them (with '+' or '-') to the writer or reader name. For example `pandoc -f markdown-footnotes+hard_line_breaks`. * The lhs extensions are now implemented this way, too; you can use either `+lhs` or `+literate_haskell`.
* Added getReader, getWriter to Text.Pandoc.John MacFarlane2012-08-09
|
* Use safeRead instead of using reads directly (various modules).John MacFarlane2012-08-09
|
* Added parseFormatSpec to Text.Pandoc.John MacFarlane2012-08-09
|
* Changes to literate haskell options.John MacFarlane2012-08-08
| | | | | | | | | | | - Removed writerLiterateHaskell from WriterOptions. - Removed readerLiterateHaskell from ReaderOptions. - Added Ext_literate_haskell to Extensions. Test for this instead of the above. - Removed failUnlessLHS from Shared. Note: At this point, +lhs and .lhs extension no longer has any effect. Need to fix.
* Moved WriterOptions and associated types Shared -> Options.John MacFarlane2012-07-26
|
* Changed reader parameters from ParserState to ReaderOptions.John MacFarlane2012-07-25
|
* Moved stateLiterateHaskell to readerLiterateHaskell in Options.John MacFarlane2012-07-25
|
* Put smart, strict in separate options field in state.John MacFarlane2012-07-25
| | | | | | | | | 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.
* Text.Pandoc: writers now an assoc list of String, Writer.John MacFarlane2012-07-24
| | | | | | | 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.
* Set writerTableOfContents for s5 in Text.Pandoc, not pandoc.hs.John MacFarlane2012-07-23
|
* Set writerSlideVariant in Text.Pandoc rather than pandoc.hs.John MacFarlane2012-07-23
|
* Added a new FictionBook2 (FB2) writer.Sergey Astanin2012-07-22
|
* Provide Data.Default instances for ParserState and WriterOptions.John MacFarlane2012-07-19
| | | | | | | | 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.
* Add support for Slideous output.Jonas Smedegaard2012-05-24
|
* Export readDocBook in Text.Pandoc.John MacFarlane2012-05-12
|
* Added skeleton of basic docbook reader.John MacFarlane2012-04-14
|
* Added beamer+lhs as output format.John MacFarlane2012-03-09
|
* Made `beamer` an output format, removed `pdf` as output format.John MacFarlane2012-01-28
| | | | | | | | | | | Removed `--beamer` option; instead, use `beamer` as output format. There is no longer a `pdf` output format; instead, pandoc tries to produce a pdf if the output file has a `.pdf` extension. (The output format can be latex -- the default for pdf output, latex+lhs, or beamer.) This seems more consistent with the way pandoc currently works (e.g. we have an `html5` output format, not an `--html5` option).
* Doc fixes in Text.Pandoc.John MacFarlane2012-01-24
|
* Text.Pandoc: Added ToFilter instance for a -> [a] types.John MacFarlane2012-01-24
|
* Added ToJsonFilter class, deprecated old jsonFilter function.John MacFarlane2012-01-24
|
* Removed `beamer` output format; added `--beamer` option.John MacFarlane2012-01-21
|
* Added Docx writer.John MacFarlane2012-01-19
| | | | | | | | | | | * New module `Text.Pandoc.Docx`. * New output format `docx`. * Added reference.docx. * New option `--reference-docx`. The writer includes support for highlighted code blocks and math (which is converted from TeX to OMML using texmath's new OMML module).
* Made `html5` and `html5+lhs` output formats.John MacFarlane2011-12-29
| | | | | Deprecated the `--html5`/`-5` flag. Use the output format instead.
* Added 'beamer' as an output format.John MacFarlane2011-12-29
| | | | | | | | | Beamer output uses the default LaTeX template, with some customizations via variables. Added `writerBeamer` to `WriterOptions`. Added `--beamer` option to `markdown2pdf`.
* Renamed to AsciiDoc. Fixed display math and escapes.John MacFarlane2011-11-18
| | | | AsciiDoc does not seem to have consistent escaping rules.
* Added an asciidoc writer (partial).John MacFarlane2011-11-16
| | | | | | | | | | | | | Still TODO: - documentation in README - add default.asciidoc to templates/ - lists - tables - proper escaping - footnotes with blank lines - print separately at end? currently they are just ignored. - fix header (date gives weird result on pandoc README)
* Added dzslides output option.John MacFarlane2011-10-01
| | | | | | * Added DZSlides to HTMLSlideVariant. * Added support for dzslides in HTML writer. * Added dzslides template.
* RTF writer: Embed images when possible.John MacFarlane2011-01-28
| | | | | | * Resolves Issue #275. * PNG and JPEG supported. * Export rtfEmbedImage.
* Text.Pandoc: Added jsonFilter for easy construction of scripts.John MacFarlane2011-01-22
| | | | | | | | | | | | | 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
* Export readNative in Text.Pandoc.Shared.John MacFarlane2011-01-20
|
* Added Text.Pandoc.Readers.Native (readNative).John MacFarlane2011-01-19
| | | | | | | | | | | | | 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.
* Fixed the parser for rst+lhs - set stateLiterateHaskell.John MacFarlane2011-01-14
|
* Text.Pandoc: Improved readers, writers lists for lhs variants.John MacFarlane2011-01-11
| | | | | Now the lhs variants set the needed literate Haskell flag in parser state and writer options.
* Use functions from Text.Pandoc.Generic instead of processWith(M).John MacFarlane2010-12-24
|
* Added support to write natbib or biblatex citations in latex output.Nathan Gass2010-12-13
|
* Added JSON reader and writer.John MacFarlane2010-12-11
|\ | | | | | | | | The JSON reader is about 20x faster than the native reader. So this can be a good way to serialize a pandoc document.
* | Moved 'readers' and 'writers' to Text.Pandoc.John MacFarlane2010-12-10
|/ | | | This allows library users to avoid repetitive case statements...
* Added Org-mode writerPuneeth Chaganti2010-12-04
| | | | | | + Added Text/Pandoc/Writers/Org.hs + Added to pandoc.cabal + Added to pandoc.hs and Text/Pandoc.hs exports.
* Basic Textile Readerpaul.rivier2010-12-03
|
* Merge branch 'textile'John MacFarlane2010-11-27
|\ | | | | | | | | | | | | Conflicts: README man/man1/pandoc.1.md pandoc.cabal
| * Added Textile writer module.John MacFarlane2010-05-17
| |
* | Moved Text.Pandoc.Writers.S5 -> Text.Pandoc.S5.John MacFarlane2010-07-22
| | | | | | | | Now it doesn't export a writer, just some CSS and JS.
* | Moved s5 writing from S5 module to HTML.John MacFarlane2010-07-22
| | | | | | | | | | Now s5 is handled in more or less the same way as slidy, as a variant of HTML.
* | Export HTMLSlideVariant in Text.Pandoc.John MacFarlane2010-07-22
| |
* | Moved Pandoc prettyprinting code from Shared to new Native writer.John MacFarlane2010-07-05
| | | | | | | | | | + Text.Pandoc.Writers.Native + The function prettyPandoc is now gone. Use writeNative instead.