Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-01-25 | Markdown reader: Simplified and sped up str parser. | John MacFarlane | 1 | -15/+9 | |
We no longer needed the smart quote complexity, because of improvements to singleQuoteStart and singleQuoteEnd. And we were able to move the check for intraword underscore to the emphasis parser. | |||||
2013-01-25 | Changed copyright date range on Markdown reader. | John MacFarlane | 1 | -1/+1 | |
2013-01-25 | Minor code cleanup. | John MacFarlane | 1 | -7/+6 | |
2013-01-25 | Markdown reader: Moved guardEnabled to definitionList. | John MacFarlane | 1 | -1/+1 | |
From definitionListItem. Slight performance improvement. | |||||
2013-01-25 | Markdown reader: Performance improvement in str parser. | John MacFarlane | 1 | -3/+6 | |
Moved a guardEnabled out of an inner loop. | |||||
2013-01-25 | Use anyLine everywhere instead of 'manyTill anyChar newline'. | John MacFarlane | 1 | -3/+3 | |
2013-01-25 | Markdown reader: More efficient version of scanForPipe. | John MacFarlane | 1 | -1/+5 | |
2013-01-23 | Fixed regressions in fenced code blocks. | John MacFarlane | 1 | -16/+6 | |
* Tilde code fences can again take bare language. So ~~~ haskell is okay, not just ~~~ {.haskell} * Backtick code blocks can take the bracketed attributes. * Backtick code blocks don't require a language. * Consolidated code for the two kinds of fenced code blocks. Closes #722. | |||||
2013-01-21 | Markdown reader: Try lhsCodeBlock before rawTeXBlock. | John MacFarlane | 1 | -1/+1 | |
Otherwise \begin{code}...\end{code} isn't handled properly in markdown+lhs. Thanks to Daniel Miot for noticing the bug and suggesting the fix. | |||||
2013-01-21 | Markdown reader: Fixed bug with headerless grid tables. | John MacFarlane | 1 | -2/+2 | |
The 1.10 code assumed that each table header cell contains exactly one block. That failed for headerless tables (0) and also for tables with multiple blocks in a header cell. The code is fixed and tests provided. Thanks to Andrew Lee for pointing out the bug. | |||||
2013-01-17 | Revert "Markdown reader: Be less restrictive about class attributes." | John MacFarlane | 1 | -1/+1 | |
This reverts commit b158b3fb2182b5c8a6f03759277f4f73cdc24797. | |||||
2013-01-16 | Markdown reader: Be less restrictive about class attributes. | John MacFarlane | 1 | -1/+1 | |
This allows attributes like `C++`. Any nonspace and non-}. | |||||
2013-01-16 | Implemented Ext_link_attributes in markdown reader. | John MacFarlane | 1 | -31/+26 | |
Also simplified source URL and link title parsers. | |||||
2013-01-16 | Implemented Ext_mmd_header_identifiers in markdown reader. | John MacFarlane | 1 | -4/+22 | |
2013-01-15 | Changed Ext_autolink_urls -> Ext_autolink_bare_uris. | John MacFarlane | 1 | -1/+1 | |
Added tests. | |||||
2013-01-15 | Use 'fig:' instead of '\SOH' in title to indicate figure. | John MacFarlane | 1 | -2/+2 | |
Revises 1a4b47e93368bfbd31daccdfedbd9527ee740201 | |||||
2013-01-14 | Implemented Ext_implicit_figures. | John MacFarlane | 1 | -6/+16 | |
* In markdown reader, add a '\1' character to the beginning of the title of an image that is alone in its paragraph, if implicit_figures extension is selected. * In writers, check for Para [Image alt (src,'\1':tit)] and treat it as a figure if possible. * Updated tests. This is a bit of a hack, but it allows us to make implicit_figures an extension of the markdown reader, rather than the writers. | |||||
2013-01-14 | Removed some cruft. | John MacFarlane | 1 | -10/+0 | |
2013-01-13 | Markdown reader: Support RST-style line blocks. | John MacFarlane | 1 | -1/+13 | |
This depends on the new Ext_line_blocks extension. | |||||
2013-01-10 | Implemented Ext_header_attributes. | John MacFarlane | 1 | -12/+20 | |
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-10 | Ext_header_identifiers -> Ext_auto_identifiers. | John MacFarlane | 1 | -1/+1 | |
2013-01-09 | Added Attr field to Header. | John MacFarlane | 1 | -8/+14 | |
Previously header ids were autogenerated by the writers. Now they are generated (unless supplied explicitly) in the markdown parser, if the `header_identifiers` extension is selected. In addition, the textile reader now supports id attributes on headers. | |||||
2013-01-08 | Added / to the list of letters that can occur in a citation key. | John MacFarlane | 1 | -1/+1 | |
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 | |