Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-08-19 | Added Ext_abbrevations for PHP markdown style abbreviation keys. | John MacFarlane | 2 | -4/+16 | |
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-18 | Man writer: Escape - as \-. | John MacFarlane | 1 | -1/+1 | |
Unescaped -'s become hyphens, while \-'s are left as ascii minus signs. That is preferable for use with command-line options. See http://lintian.debian.org/tags/hyphen-used-as-minus-sign.html. Thanks to Andrea Bolognani for bringing the issue to our attention. | |||||
2012-08-17 | Docx line breaks: Use w:cr in w:r instead of w:br. | John MacFarlane | 1 | -5/+6 | |
This seems to fix a problem viewing pandoc-generated docx files in LibreOffice. | |||||
2012-08-16 | Added comments in Options. | John MacFarlane | 1 | -38/+40 | |
2012-08-15 | Moved renderTags' from HTML reader & SelfContained to Shared. | John MacFarlane | 4 | -28/+33 | |
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-13 | Pretty: Fixed bug that caused combining characters to be dropped. | John MacFarlane | 1 | -6/+5 | |
2012-08-12 | Added Ext_raw_html extension. | John MacFarlane | 2 | -4/+10 | |
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 | 3 | -11/+57 | |
2012-08-11 | Implemented tex_math extensions in markdown writer. | John MacFarlane | 1 | -4/+18 | |
2012-08-11 | Implemented Ext_markdown_attribute in markdown writer. | John MacFarlane | 1 | -2/+19 | |
2012-08-11 | Mardkown reader: Implemented Ext_markdown_attribute. | John MacFarlane | 2 | -14/+24 | |
2012-08-11 | Revert "Implemented Ext_markdown_attribute." | John MacFarlane | 2 | -11/+1 | |
This reverts commit 78d3a0fb9d3f862d5e2b61bd45434f7af9cd9f18. | |||||
2012-08-11 | Implemented Ext_markdown_attribute. | John MacFarlane | 2 | -1/+11 | |
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 | Options and documentation for backslash tex math options. | John MacFarlane | 1 | -0/+2 | |
Ext_tex_math_single_backslash and Ext_tex_math_double_backslash. Still need to code in reader. | |||||
2012-08-10 | Changed Ext_tex_math to Ext_tex_math_dollars. | John MacFarlane | 2 | -4/+4 | |
2012-08-10 | Removed refs to Ext_header_identifiers in comments. | John MacFarlane | 1 | -2/+0 | |
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-09 | Changed strict to markdown_strict. | John MacFarlane | 2 | -4/+7 | |
2012-08-09 | Fixed handling of default extensions, so they don't override +options. | John MacFarlane | 1 | -8/+10 | |
2012-08-09 | Removed `--strict`, added extensions to writer/reader names. | John MacFarlane | 3 | -15/+26 | |
* 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`. | |||||
2012-08-09 | Added getReader, getWriter to Text.Pandoc. | John MacFarlane | 1 | -0/+31 | |
2012-08-09 | Use safeRead instead of using reads directly (various modules). | John MacFarlane | 4 | -25/+27 | |
2012-08-09 | Added safeRead to Text.Pandoc.Shared. | John MacFarlane | 1 | -1/+12 | |
2012-08-09 | Added parseFormatSpec to Text.Pandoc. | John MacFarlane | 1 | -0/+22 | |
2012-08-08 | Changes to literate haskell options. | John MacFarlane | 10 | -41/+15 | |
- 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-07 | Made pandocExtensions default for reader/writer options. | John MacFarlane | 1 | -2/+2 | |
2012-08-06 | Support hard_line_breaks markdown extension. | John MacFarlane | 2 | -1/+43 | |
* 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 | Markdown writer: Tables now sensitive to table extension options. | John MacFarlane | 1 | -21/+42 | |
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. | |||||
2012-08-05 | Started making markdown table writer sensitive to options. | John MacFarlane | 2 | -33/+50 | |
So far incomplete. | |||||
2012-08-04 | Don't include empty captions in figures. | John MacFarlane | 6 | -17/+32 | |
Closes #581. | |||||
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 | Don't use escaped line breaks in plain output. | John MacFarlane | 1 | -1/+3 | |
2012-08-02 | Made markdown writer sensitive to Ext_subscript/superscript/strikeout. | John MacFarlane | 1 | -3/+9 | |
HTML is used if these are disabled. | |||||
2012-08-02 | Made markdown writer sensitive to Ext_definition_lists. | John MacFarlane | 1 | -8/+13 | |
IF not set, definition lists will be rendered as regular paragraphs, with the term set off by a line break. | |||||
2012-08-02 | Made markdown writer sensitive to Ext_startnum, Ext_fancy_lists. | John MacFarlane | 1 | -1/+5 | |
2012-08-02 | Made markdown reader sensitive to Ext_raw_tex. | John MacFarlane | 1 | -2/+3 | |
2012-08-02 | Made markdown writer sensitive to Ext_table_captions. | John MacFarlane | 1 | -1/+1 | |
2012-08-02 | Made markdown writer sensitive to Ext_pandoc_title_blocks. | John MacFarlane | 1 | -1/+2 | |
2012-08-02 | Made markdown writer sensitive to Ext_footnotes. | John MacFarlane | 1 | -4/+10 | |
If footnotes not enabled, footnotes are formatted like normal markdown paragraphs, with a marker like [3]. | |||||
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 | 2 | -21/+37 | |
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 | 3 | -56/+28 | |
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 | 3 | -406/+598 | |
* 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 | Removed commented-out pandoc2 code. | John MacFarlane | 1 | -41/+0 | |
This will be developed in a branch, noreparsing. | |||||
2012-07-27 | Parser: Changed types to use type alias Parser, not Parsec. | John MacFarlane | 1 | -97/+138 | |