aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Options.hs
AgeCommit message (Collapse)AuthorFilesLines
2013-01-14Added Ext_implicit_figures.John MacFarlane1-2/+2
No code to hook this in yet.
2013-01-13Markdown reader: Support RST-style line blocks.John MacFarlane1-0/+2
This depends on the new Ext_line_blocks extension.
2013-01-11Options: Added githubMarkdownExtensions.John MacFarlane1-0/+15
Added github_markdown as input/output option.
2013-01-10Options: Added phpMarkdownExtraExtensions.John MacFarlane1-0/+14
And added markdown_phpextra input/output format.
2013-01-10Implemented Ext_header_attributes.John MacFarlane1-0/+2
This allows explicit attributes to be put on headers, using a syntax like that for code blocks: {#id .class .class k=v k=v}
2013-01-10Ext_header_identifiers -> Ext_auto_identifiers.John MacFarlane1-2/+2
2013-01-05EPUB changes.John MacFarlane1-0/+5
* Epub writer now exports writeEPUB, not writeEPUB2 and writeEPUB3. * Options now exports EPUBVersion * WriterOptions now includes writerEpubVersion.
2013-01-05Changed --toc-level to --toc-depth.John MacFarlane1-2/+2
2013-01-05Changed `--epub-toc-level` to `--toc-level`.John MacFarlane1-2/+2
Also writerEpubTOCLevel -> writerTOCLevel. So far this is only implemented in the EPUB writer.
2013-01-04Renamed writerEPUBMetadata -> writerEpubMetadata.John MacFarlane1-2/+2
API change for consistency.
2013-01-04Added `--epub-chapter-level` and `--epub-toc-level` options.John MacFarlane1-0/+4
Also added writerEpubChapterLevel and writerEpubTOCLevel fields to WriterOptions.
2013-01-03Implemented `Ext_header_identifiers`, `Ext_implicit_header_references`.John MacFarlane1-0/+4
Now by default pandoc will act as if link references have been defined for all headers. So, you can do this: # My header Link to [My header]. Another link to [it][My header]. Closes #691.
2012-10-14Re-added Read instance for ReaderOptions.John MacFarlane1-1/+1
Requires dev version of citeproc-hs.
2012-10-13Moved bibliography processing into readers.John MacFarlane1-3/+6
Previously this was done in src/pandoc.hs, which made it difficult for library users. * Removed readerCitations in ReaderOptions. * Added readerReferences and readerCitationStyle to ReaderOptions. * Moved use of processBiblio from main program to the markdown and LaTeX readers.
2012-09-27Removed Ext_monospace_autolinks.John MacFarlane1-2/+0
2012-09-27Added Ext_autolink_urls.John MacFarlane1-0/+1
2012-09-27Renamed Ext_autolink_code_spans to Ext_monospace_autolinks.John MacFarlane1-2/+2
2012-09-25Make --id-prefix affect footnote IDs in markdown writer.John MacFarlane1-0/+1
Closes #614.
2012-08-21Implemented Ext_backtick_code_blocks.John MacFarlane1-0/+2
This is the variant github prefers.
2012-08-21Added Ext_fenced_code_attributes.John MacFarlane1-0/+2
2012-08-21Changed nomenclature, delimited -> fenced code blocks.John MacFarlane1-2/+2
2012-08-19Added Ext_abbrevations for PHP markdown style abbreviation keys.John MacFarlane1-0/+1
Note: pandoc does not have an abbreviation element (yet) and so currently when this extension is enabled, it just causes pandoc to skip the abbrevation keys.
2012-08-16Added comments in Options.John MacFarlane1-38/+40
2012-08-12Added Ext_raw_html extension.John MacFarlane1-1/+4
Closes #556 -- you can now specify markdown-raw_html as your input format. (Read: markdown minus raw_html.)
2012-08-12Implemented Ext_mmd_title_block in markdown reader & writer.John MacFarlane1-2/+3
2012-08-11Mardkown reader: Implemented Ext_markdown_attribute.John MacFarlane1-0/+1
2012-08-11Revert "Implemented Ext_markdown_attribute."John MacFarlane1-1/+0
This reverts commit 78d3a0fb9d3f862d5e2b61bd45434f7af9cd9f18.
2012-08-11Implemented Ext_markdown_attribute.John MacFarlane1-0/+1
This adds markdown=1 to block tags.
2012-08-10Options and documentation for backslash tex math options.John MacFarlane1-0/+2
Ext_tex_math_single_backslash and Ext_tex_math_double_backslash. Still need to code in reader.
2012-08-10Changed Ext_tex_math to Ext_tex_math_dollars.John MacFarlane1-2/+2
2012-08-10Removed refs to Ext_header_identifiers in comments.John MacFarlane1-2/+0
2012-08-08Changes to literate haskell options.John MacFarlane1-4/+5
- 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.
2012-08-07Made pandocExtensions default for reader/writer options.John MacFarlane1-2/+2
2012-08-06Support hard_line_breaks markdown extension.John MacFarlane1-0/+41
* Added Ext_hard_line_breaks. * Added section in README on non-pandoc extensions. * Exported pandocExtensions and strictExtensions in Text.Pandoc.Options. Closes #514.
2012-07-27Commented out extensions that don't yet do anything.John MacFarlane1-2/+3
2012-07-27Removed deprecated writerXeTeX.John MacFarlane1-3/+0
2012-07-27Markdown reader: Added sensitivity to Ext_example_lists.John MacFarlane1-0/+1
2012-07-27Replaced writerStrict with writerExtensions in WriterOptions.John MacFarlane1-2/+4
Still have not implemented individual tests for all the extensions in the markdown writer.
2012-07-26Moved WriterOptions and associated types Shared -> Options.John MacFarlane1-0/+121
2012-07-26Use readerExtensions instead of readerStrict in readers.John MacFarlane1-13/+27
Test individually for the extensions.
2012-07-26pandoc: Set readerExtensions instead of readerStrict.John MacFarlane1-2/+3
2012-07-25Changed reader parameters from ParserState to ReaderOptions.John MacFarlane1-0/+1
2012-07-25Restored stateStandalone as readerStandalone.John MacFarlane1-0/+2
It is indeed needed by the RST reader.
2012-07-25Moved stateApplyMacros, stateIndentedCodeClasses to ReaderOptions.John MacFarlane1-9/+14
2012-07-25stateCitations -> readerCitations.John MacFarlane1-0/+2
2012-07-25Moved stateLiterateHaskell to readerLiterateHaskell in Options.John MacFarlane1-14/+16
2012-07-25Moved stateOldDashes to readerOldDashes in ReaderOptions.John MacFarlane1-1/+5
2012-07-25Moved stateTabStop to readerTabStop in ReaderOptions.John MacFarlane1-0/+2
2012-07-25Moved stateColumns to readerColumns in ReaderOptions.John MacFarlane1-0/+2
2012-07-25Moved ParseRaw from ParserState to ReaderOptions.John MacFarlane1-3/+5