summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers/Txt2Tags.hs
Commit message (Collapse)AuthorAge
* Change return type of Txt2Tags readerMatthew Pickering2015-02-18
|
* Added Text.Pandoc.Compat.Locale to assist with transition to time 1.5.John MacFarlane2014-12-19
|
* Txt2Tags Reader: Fixed crash when reading from stdinmpickering2014-08-21
|
* Txt2Tags Reader: Corrected formatting of %%mtime macrompickering2014-08-21
|
* Txt2Tags Reader: Parse Meta informationmpickering2014-08-21
| | | | | The header is now parsed as meta information. The first line is the `title`, the second is the `author` and third line is the `date`.
* Txt2Tags reader: Header is now parsed only if standalone flag is setmpickering2014-08-20
|
* getT2TMeta: Take list of source files instead of single.John MacFarlane2014-07-30
| | | | Get latest modification time.
* Added compatability layer to support directory-1.1Matthew Pickering2014-07-27
|
* Txt2Tags Reader: Added copyright informationMatthew Pickering2014-07-27
|
* Txt2Tags Reader: Added recognition of macrosMatthew Pickering2014-07-27
|
* Added txt2tags readerMatthew Pickering2014-07-27
http://txt2tags.org/ There are two points which currently do not match the official implementation. 1. In the official implementation lists can not be nested like the following but the reader would interpret this as a bullet list with the first item being a numbered list. ``` - + This is not a list ``` 2. The specification describes how URIs automatically becomes links. Unfortunately as is often the case, their definitiong of URI is not clear. I tried three solutions but was unsure about which to adopt. * Using isURI from Network.URI, this matches far too many strings and is therefore unsuitable * Using uri from Text.Pandoc.Shared, this doesn't match all strings that the reference implementation matches * Try to simulate the regex which is used in the native code I went with the third approach but it is not perfect, for example trailing punctuation is captured in Urls.