Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-03-17 | Revert "LaTeX reader: citation handling changes." | John MacFarlane | 1 | -2/+1 | |
This reverts commit f7229b147314042f946dfded3b441ab0fae260a0. | |||||
2013-03-11 | Fixed spacing bugs involving code block attributes. | John MacFarlane | 1 | -1/+1 | |
Closes #763. | |||||
2013-03-09 | LaTeX reader: citation handling changes. | John MacFarlane | 1 | -1/+2 | |
Previously, a LaTeX citation would always be parsed as a Citation element, with the raw LaTeX in the [Inline] part. Now, the LaTeX citation is parsed as a Citation element only if `--biblio` was specified (i.e. only if there is a nonempty set of references in readerReferences). Otherwise it is parsed as raw LaTeX. This will make it possible to simplify some things in the markdown writer. It also makes the LaTeX reader behave more like the Markdown reader. | |||||
2013-03-07 | Markdown writer: Render citations as pandoc-markdown citations. | John MacFarlane | 1 | -1/+1 | |
Previously citations were rendered as citeproc-formatted citations by default. Now we render them as pandoc citations, e.g. `[@item1]`, unless the `citations` extension is disabled. If you still want formatted citations in your markdown output, use `pandoc -t markdown-citations`. | |||||
2013-02-28 | Markdown writer: Use grid tables when needed, and if enabled. | John MacFarlane | 1 | -1/+31 | |
Closes #740. | |||||
2013-02-06 | Revert "Citation changes." | John MacFarlane | 1 | -3/+1 | |
This reverts commit d46f434d4b8906ae3b983e568549213de94fd1a2. | |||||
2013-02-03 | Citation changes. | John MacFarlane | 1 | -1/+3 | |
* Citations will work in markdown even if `--biblio` isn't specified. Note: this may cause unexpected behavior for people who use strings of the form `@foo` that are not citations! * If `--biblio` isn't used, the markdown writer will write markdown citations rather than CSL-rendered citations. * This means, for example, that you can do `pandoc -f latex -t markdown` and convert biblatex or natbib citations into pandoc citations. | |||||
2013-01-28 | Markdown writer: Set title, author, date variables as before. | John MacFarlane | 1 | -0/+3 | |
These are no longer used in the default template, since we use titleblock, but we set them anyway for nondefault template users. | |||||
2013-01-26 | Markdown writer: Use autolink when link text matches url. | John MacFarlane | 1 | -3/+3 | |
Previously we also checked for a null title, but this test fails for links produced by citeproc-hs in bibliographies. So, if the link has a title, it will be lost on conversion to an autolink, but that seems okay. | |||||
2013-01-16 | Implemented Ext_mmd_header_identifiers in markdown writer. | John MacFarlane | 1 | -0/+2 | |
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 | -0/+3 | |
* 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-12 | Markdown writer: Support Ext_auto_identifiers and Ext_header_attributes. | John MacFarlane | 1 | -13/+23 | |
2013-01-09 | Added Attr field to Header. | John MacFarlane | 1 | -1/+1 | |
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-06 | Don't put the text of an autolink in Code font. | John MacFarlane | 1 | -2/+2 | |
2013-01-05 | Implemented --toc-depth for markdown writer. | John MacFarlane | 1 | -7/+7 | |
2012-09-25 | Make --id-prefix affect footnote IDs in markdown writer. | John MacFarlane | 1 | -4/+4 | |
Closes #614. | |||||
2012-09-15 | Markdown writer: Made sensitive to Ext_hard_line_breaks. | John MacFarlane | 1 | -4/+8 | |
2012-08-21 | Implemented Ext_backtick_code_blocks. | John MacFarlane | 1 | -6/+14 | |
This is the variant github prefers. | |||||
2012-08-21 | Added Ext_fenced_code_attributes. | John MacFarlane | 1 | -2/+4 | |
2012-08-21 | Changed nomenclature, delimited -> fenced code blocks. | John MacFarlane | 1 | -3/+3 | |
2012-08-12 | Implemented Ext_mmd_title_block in markdown reader & writer. | John MacFarlane | 1 | -6/+29 | |
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-08 | Changes to literate haskell options. | John MacFarlane | 1 | -6/+3 | |
- 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-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 | 1 | -32/+49 | |
So far incomplete. | |||||
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-07-27 | Replaced writerStrict with writerExtensions in WriterOptions. | John MacFarlane | 1 | -16/+20 | |
Still have not implemented individual tests for all the extensions in the markdown writer. | |||||
2012-07-26 | Moved WriterOptions and associated types Shared -> Options. | John MacFarlane | 1 | -0/+1 | |
2012-07-26 | Fixed whitespace errors. | John MacFarlane | 1 | -20/+20 | |
2012-07-20 | Use Parser as type synonym for Parsec. | John MacFarlane | 1 | -1/+1 | |
2012-07-20 | Text.Pandoc.Parsing: Export all Parsec functions used in pandoc code. | John MacFarlane | 1 | -2/+1 | |
No other module directly imports Parsec. This will make it easier to change the parsing backend in the future, if we want to. | |||||
2012-07-20 | Use Text.Parsec instead of Text.ParserCombinators.Parsec. | John MacFarlane | 1 | -2/+2 | |
2012-05-19 | Markdown Use a nonzero space to prevent false recognition of list marker. | John MacFarlane | 1 | -1/+1 | |
This addresses #516, but in a rather hackish way. There ought to be a better solution. | |||||
2012-05-16 | Markdown writer: Improved definition lists. | John MacFarlane | 1 | -2/+2 | |
* Use `:` form instead of `~`, for better compatibility with other markdown implementations. * Don't wrap the term, because it breaks definition lists. | |||||
2012-04-15 | Mardkown writer: escape < and $. | John MacFarlane | 1 | -1/+1 | |
2012-04-11 | Markdown writer: don't force delimited code blocks to be flush left. | John MacFarlane | 1 | -1/+1 | |
Fixes bug with delimited code blocks inside lists etc. | |||||
2012-04-03 | Markdown writer: don't replace empty alt in image with "image". | John MacFarlane | 1 | -3/+3 | |
Previously `<img src="empty.png" alt=""/>` would be translated as `![image](empty.png)`; now it becomes `![](empty.png)` as one might naturally expect. | |||||
2012-02-08 | Don't wrap headers in markdown or rst. | John MacFarlane | 1 | -1/+2 | |
2012-01-31 | Don't let autolinks create reference links. | John MacFarlane | 1 | -1/+1 | |
Previously we got bad results with -t markdown --reference-links if the input contained autolinks like <http://yahoo.com>. | |||||
2012-01-27 | Finished implementing --atx-headers in markdown writer. | John MacFarlane | 1 | -2/+5 | |
2011-12-27 | Replaced Apostrophe, Ellipses, EmDash, EnDash w/ unicode strings. | John MacFarlane | 1 | -4/+0 | |