| Commit message (Collapse) | Author | Age |
... | |
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Text.Pandoc.Readers.MediaWiki module,
tests/mediawiki-reader.{txt,native}.
|
| |
| |
| |
| |
| | |
We now put a newline between `</dd>` and `<dd>` when
there are multiple definitions.
|
| | |
|
| |
| |
| |
| | |
Closes #604.
|
| | |
|
|/
|
|
|
|
|
| |
This affected notes occuring before punctuation, e.g.
`foo[1].`.
Closes #518.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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).
|
| |
|
|
|
|
|
|
|
|
| |
To run tests, configure with --enable-tests, then 'cabal test'.
You can specify particular tests using --test-options='-t markdown'.
No output is shown unless tests fail. In the future, we can move
to the detailed-1.0 interface.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* 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]
|
| |
| |
| |
| |
| | |
A few simple tests for the tables as php-markdown defines them.
Only tables whose lines begin with a "|" are tested.
|
| |
| |
| |
| | |
Test suite should not require net access to run.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
For example, "2*2 = 4*1" should not contain an emphasized
section. Added test case for "Literal symbols". Closes #569.
|
| |
| |
| |
| |
| |
| |
| | |
Square brackets need to be used when the link isn't surrounded by
spaces or punctuation, or when the URL ending may be ambiguous.
Closes #564.
|
| |
| |
| |
| |
| |
| | |
Simplified escapes for `}` and `{` to `\{` and `\}`.
Thanks to Aditya Mahajan.
|
| |
| |
| |
| | |
Thanks to Gavin Beatty.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
See issue #531.
|
| | |
|
| |
| |
| |
| | |
Closes #517.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
* Use `:` form instead of `~`, for better compatibility with other
markdown implementations.
* Don't wrap the term, because it breaks definition lists.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
verbatim, itemize, description, enumerate.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Closes #502. Previously you'd get:
~~~
hi
\begin{quote}
hi
\end{quote}
hi
~~~
Now we get:
~~~
hi
\begin{quote}
hi
\end{quote}
hi
~~~
|
| | |
|
|\ \
| | |
| | | |
Textile reader update
|