Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-01-06 | Don't put the text of an autolink in Code font. | John MacFarlane | 1 | -2/+2 | |
2013-01-04 | Markdown reader: Warn about duplicate note references. | John MacFarlane | 1 | -1/+6 | |
Closes #375. | |||||
2013-01-04 | Markdown reader: Warn about duplicate link references. | John MacFarlane | 1 | -1/+12 | |
2013-01-04 | Markdown reader: Export readMarkdownWithWarnings. | John MacFarlane | 1 | -1/+14 | |
Note: This is not yet used, and the parser does not yet generate any warnings. | |||||
2013-01-03 | Implemented `Ext_header_identifiers`, `Ext_implicit_header_references`. | John MacFarlane | 1 | -143/+163 | |
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-21 | Revert "LaTeX reader: Use new suppressParens option for footnote citations." | John MacFarlane | 1 | -16/+14 | |
This reverts commit 7499499b68934ae6f3418940328c7fc2bd9fcadd. Conflicts: src/Text/Pandoc/Readers/LaTeX.hs | |||||
2012-10-15 | LaTeX reader: Use new suppressParens option for footnote citations. | John MacFarlane | 1 | -14/+16 | |
Also changed Biblio, Markdown reader, and LaTeX reader tests because of new citationSuppressParens field in Citation. | |||||
2012-10-13 | Moved bibliography processing into readers. | John MacFarlane | 1 | -3/+8 | |
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-29 | Renamed removedLeadingTrailingSpace to trim. | John MacFarlane | 1 | -9/+9 | |
Also removeLeadingSpace to triml, removeTrailingSpace to trimr. | |||||
2012-09-29 | Markdown reader: Worked around some sepBy's. | John MacFarlane | 1 | -8/+11 | |
2012-09-27 | Shared: Export compactify', formerly in Markdown reader. | John MacFarlane | 1 | -21/+7 | |
2012-09-27 | Removed Ext_monospace_autolinks. | John MacFarlane | 1 | -6/+2 | |
2012-09-27 | Added Ext_autolink_urls. | John MacFarlane | 1 | -0/+9 | |
2012-09-27 | Renamed Ext_autolink_code_spans to Ext_monospace_autolinks. | John MacFarlane | 1 | -1/+1 | |
2012-09-22 | Markdown reader: Fixed link parser to avoid exponential slowdowns. | John MacFarlane | 1 | -8/+12 | |
Previously the parser would hang on input like this: [[[[[[[[[[[[[[[[[[hi We fixed this by making the link parser parser characters between balanced brackets (skipping brackets in inline code spans), then parsing the result as an inline list. One change is that [hi *there]* bud](/url) is now no longer parsed as a link. But in this respect pandoc behaved differently from most other implementations anyway, so that seems okay. All current tests pass. Added test for this case. Closes #620. | |||||
2012-09-12 | Added basic mediawiki reader. | John MacFarlane | 1 | -2/+0 | |
Text.Pandoc.Readers.MediaWiki module, tests/mediawiki-reader.{txt,native}. | |||||
2012-09-12 | Export 'nested' in Parsing. | John MacFarlane | 1 | -12/+0 | |
2012-08-21 | Implemented Ext_backtick_code_blocks. | John MacFarlane | 1 | -15/+23 | |
This is the variant github prefers. | |||||
2012-08-21 | Added Ext_fenced_code_attributes. | John MacFarlane | 1 | -4/+6 | |
2012-08-21 | Changed nomenclature, delimited -> fenced code blocks. | John MacFarlane | 1 | -4/+4 | |
2012-08-19 | Added Ext_abbrevations for PHP markdown style abbreviation keys. | John MacFarlane | 1 | -4/+15 | |
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-15 | Moved renderTags' from HTML reader & SelfContained to Shared. | John MacFarlane | 1 | -3/+9 | |
Improved removal of markdown="1" attribute in Markdow reader. | |||||
2012-08-15 | Tweaks on markdown="1" handling. | John MacFarlane | 1 | -14/+22 | |
2012-08-13 | Markdown: Prevent parse failure on HTML blocks with -raw_html. | John MacFarlane | 1 | -1/+2 | |
2012-08-12 | Added Ext_raw_html extension. | John MacFarlane | 1 | -3/+6 | |
Closes #556 -- you can now specify markdown-raw_html as your input format. (Read: markdown minus raw_html.) | |||||
2012-08-12 | Implemented Ext_mmd_title_block in markdown reader & writer. | John MacFarlane | 1 | -3/+25 | |
2012-08-11 | Mardkown reader: Implemented Ext_markdown_attribute. | John MacFarlane | 1 | -14/+23 | |
2012-08-11 | Revert "Implemented Ext_markdown_attribute." | John MacFarlane | 1 | -10/+1 | |
This reverts commit 78d3a0fb9d3f862d5e2b61bd45434f7af9cd9f18. | |||||
2012-08-11 | Implemented Ext_markdown_attribute. | John MacFarlane | 1 | -1/+10 | |
This adds markdown=1 to block tags. | |||||
2012-08-10 | Implemented Ext_tex_math_single_backslash, Ext_tex_math_double_backslash. | John MacFarlane | 1 | -20/+28 | |
2012-08-10 | Changed Ext_tex_math to Ext_tex_math_dollars. | John MacFarlane | 1 | -2/+2 | |
2012-08-10 | Markdown: Allow pipe tables created by emacs orgtbl-mode to work. | John MacFarlane | 1 | -4/+8 | |
The difference is the + separators. Note: only simple org-tables work, with no bottom line. This just allows you to use org-mode's nice table editor to create regular pipe tables. In particular, org-mode's method for determining column alignments implicitly is not enabled. You must put in :s to specify alignments, as stated in the documentation. | |||||
2012-08-08 | Changes to literate haskell options. | John MacFarlane | 1 | -1/+1 | |
- 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-07 | Markdown reader: Modified to use Builder from pandoc-types 1.10.*. | John MacFarlane | 1 | -5/+3 | |
2012-08-06 | Support hard_line_breaks markdown extension. | John MacFarlane | 1 | -1/+2 | |
* Added Ext_hard_line_breaks. * Added section in README on non-pandoc extensions. * Exported pandocExtensions and strictExtensions in Text.Pandoc.Options. Closes #514. | |||||
2012-08-05 | Started making markdown table writer sensitive to options. | John MacFarlane | 1 | -1/+1 | |
So far incomplete. | |||||
2012-08-04 | Markdown reader: look for raw html/latex blocks before tables. | John MacFarlane | 1 | -2/+2 | |
Otherwise the following gets parsed as a table: \begin{code} -------------- -- My comment. \end{code} Closes #578. | |||||
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 | 1 | -20/+14 | |
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 | 1 | -4/+4 | |
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 | 1 | -390/+553 | |
* 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 | Markdown reader: Added sensitivity to Ext_example_lists. | John MacFarlane | 1 | -1/+3 | |
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 | 1 | -5/+7 | |
Still have not implemented individual tests for all the extensions in the markdown writer. | |||||
2012-07-26 | Fixed whitespace errors. | John MacFarlane | 1 | -31/+31 | |
2012-07-26 | Use readerExtensions instead of readerStrict in readers. | John MacFarlane | 1 | -84/+72 | |
Test individually for the extensions. | |||||
2012-07-25 | Changed reader parameters from ParserState to ReaderOptions. | John MacFarlane | 1 | -3/+4 | |
2012-07-25 | Moved stateApplyMacros, stateIndentedCodeClasses to ReaderOptions. | John MacFarlane | 1 | -2/+2 | |
2012-07-25 | stateCitations -> readerCitations. | John MacFarlane | 1 | -2/+2 | |