| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
| |
* All tables now require at least one body row.
* Renamed from 'extra' to 'pipe' tables.
* Moved functions from Parsing to Readers.Markdown.
* Cleaned up code; revised to parse in one pass rather than
parsing a raw string, splitting it, and parsing the components.
* Allow pipe tables without pipes on the ends (as PHP Markdown Extra
does).
|
|
|
|
| |
Added to cabal file.
|
|\
| |
| | |
Markdown extra tables [part of the multi-markdown syntax for tables]
|
| |
| |
| |
| |
| | |
Only tables whose lines begin with a "|" are supported.
There are 2 warnings about unused variables when compiling.
|
| |
| |
| |
| | |
Test suite should not require net access to run.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Simplified escapes for `}` and `{` to `\{` and `\}`.
Thanks to Aditya Mahajan.
|
| |
| |
| |
| | |
This fixes a regression. Also added a test for this.
|
|/ |
|
|
|
|
|
| |
if it doesn't start w space or punctuation. Otherwise we
get no space between the year and the suffix in author-date styles.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
This way you can still get the raw latex back, even if you don't
process with citeproc. Previously, cites were not visible at all
unless you specified --biblio on the command line and converted
them using citeproc, or used --natbib or --biblatex.
|
|
|
|
|
| |
This avoids clash with (<>), which is defined in Data.Monoid
as having infix 6.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* The new reader is more robust, accurate, and extensible.
It is still quite incomplete, but it should be easier
now to add features.
* Text.Pandoc.Parsing: Added withRaw combinator.
* Markdown reader: do escapedChar before raw latex inline.
Otherwise we capture commands like \{.
* Fixed latex citation tests for new citeproc.
* Handle \include{} commands in latex.
This is done in pandoc.hs, not the (pure) latex reader.
But the reader exports the needed function, handleIncludes.
* Moved err and warn from pandoc.hs to Shared.
* Fixed tests - raw tex should sometimes have trailing space.
* Updated lhs-test for highlighting-kate changes.
|
|
|
|
| |
It didn't work with new ids.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Still TODO:
- documentation in README
- add default.asciidoc to templates/
- lists
- tables
- proper escaping
- footnotes with blank lines - print separately at end?
currently they are just ignored.
- fix header (date gives weird result on pandoc README)
|
| |
|
| |
|
|
|
|
| |
Also added test case.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These previously caused infinite looping and stack overflows.
For example:
[^1]
[^1]: See [^1]
Note references are allowed in reST notes, so this isn't a full
implementation of reST. That can come later. For now we need to
prevent the stack overflows.
Partially resolves Issue #297.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
So, in RST, 'http://google.com.' should be parsed as a link
to 'http://google.com' followed by a period.
The parser is smart enough to recognize balanced parentheses,
as often occur in wikipedia links: 'http://foo.bar/baz_(bam)'.
Also added ()s to RST specialChars, so '(http://google.com)'
will be parsed as a link in parens.
Added test cases.
Resolves Issue #291.
|
|
|
|
|
| |
The bug affected field lists with multi-line items at the
end of the list.
|
|
|
|
|
|
|
| |
The point of the change is to allow html tags to be used freely
at the left margin of a markdown+lhs document.
Thanks to Conal Elliot for the suggestion.
|
|
|
|
|
|
| |
Previously, if you had formatting in the label of an Image
element, you'd get escaped HTML in the alt attribute. Now
you just get a plain string version, which seems preferable.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
In normal form, Space elements only occur to separate two non-Space
elements. So, we never have [Space], or [, ..., Space].
|
| |
|
| |
|
|
|
|
|
|
| |
The last patch did not handle cases with > 4 spaces.
Also added a more general test case.
|
|
|
|
|
|
|
|
|
|
| |
The problem was in input like this:
[^1]: note
not in note.
Also added a test case for this.
|
|
|
|
|
| |
Previously a file beginning " hi" would cause a parse error.
Also cleaned up comment parsing.
|