Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-07-26 | Fixed whitespace errors. | John MacFarlane | 1 | -12/+12 | |
2012-07-26 | Textile reader: Replace failIfStrict with guardEnabled. | John MacFarlane | 1 | -3/+3 | |
2012-07-25 | Changed reader parameters from ParserState to ReaderOptions. | John MacFarlane | 1 | -8/+8 | |
2012-07-25 | Moved stateOldDashes to readerOldDashes in ReaderOptions. | John MacFarlane | 1 | -4/+6 | |
2012-07-25 | Moved ParseRaw from ParserState to ReaderOptions. | John MacFarlane | 1 | -3/+3 | |
2012-07-25 | Options -> ReaderOptions. | John MacFarlane | 1 | -1/+1 | |
Better to keep reader and writer options separate. | |||||
2012-07-25 | Put smart, strict in separate options field in state. | John MacFarlane | 1 | -1/+5 | |
This is the beginning of a larger transition that will make Options, not ParserState, the parameter of the read functions. (Options will also be used in writers, in place of WriterOptions.) Next step is to remove strict, replacing it with granular tests for different extensions. | |||||
2012-07-20 | Use Parser as type synonym for Parsec. | John MacFarlane | 1 | -68/+68 | |
2012-07-20 | Text.Pandoc.Parsing: Export all Parsec functions used in pandoc code. | John MacFarlane | 1 | -1/+0 | |
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 | -69/+69 | |
2012-07-13 | Textile reader: properly handle links with surrounding brackets. | John MacFarlane | 1 | -3/+16 | |
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. | |||||
2012-05-29 | Textile reader: fix for `<notextile>` and `==`. | paul.rivier | 1 | -10/+3 | |
Closes #517. | |||||
2012-05-29 | Added a couple needed trys to textile reader. | John MacFarlane | 1 | -2/+2 | |
2012-04-27 | Textile reader: Parse +text+ as emphasized (should be underline). | John MacFarlane | 1 | -0/+1 | |
2012-04-24 | textile reader improvements : better conformance to RedCloth Textile inlines | paul.rivier | 1 | -51/+67 | |
2012-04-17 | Textile reader quick clean-up and added support for LaTeX blocks and inlines. | paul.rivier | 1 | -64/+51 | |
2012-04-05 | Textile reader: Implemented literal escapes with `==` and `<notextile>`. | John MacFarlane | 1 | -1/+19 | |
Closes #473. | |||||
2012-03-12 | fix doc generation failure against haddock-2.10.0 | Sergei Trofimovich | 1 | -2/+2 | |
$ cabal configure --haddock-option=-v3 $ cabal haddock -v3 Creating interface... 100% ( 2 / 2) in 'Text.Pandoc.Readers.Native' Checking module Text.Pandoc.Readers.HTML... Creating interface... 50% ( 4 / 8) in 'Text.Pandoc.Readers.HTML' Checking module Text.Pandoc.Readers.Textile... Creating interface... haddock: internal error: lexical error /usr/bin/haddock returned ExitFailure 1 Patch changes UTF-8 spaces to ASCII spaces. It's a known haddock issue: http://www.haskell.org/pipermail/haskell-cafe/2012-March/099870.html Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> | |||||
2012-01-01 | New treatment of dashes in --smart mode. | John MacFarlane | 1 | -1/+2 | |
* `---` is always em-dash, `--` is always en-dash. * pandoc no longer tries to guess when `-` should be en-dash. * A new option, `--old-dashes`, is provided for legacy documents. Rationale: The rules for en-dash are too complex and language-dependent for a guesser to work reliably. This change gives users greater control. The alternative of using unicode isn't very good, since unicode em- and en- dashes are barely distinguishable in a monospace font. | |||||
2011-12-29 | Better smart quote parsing. | John MacFarlane | 1 | -0/+2 | |
* Added stateLastStrPos to ParserState. This lets us keep track of whether we're parsing the position immediately after a 'str'. If we encounter a ' in such a location, it must be an apostrophe, and can't be a single quote start. * Set this in the markdown, textile, html, and rst str parsers. * Closes #360. | |||||
2011-07-10 | Textile reader: Make it possible to have colons after links. | Christoffer Sawicki | 1 | -1/+1 | |
2011-01-26 | Add support for attributes in inline Code. | John MacFarlane | 1 | -2/+2 | |
Additional related changes: * URLs in Code in autolinks now use class "url". * Require highlighting-kate 0.2.8.2, which omits the final <br/> tag, essential for inline code. | |||||
2011-01-26 | Bumped version to 1.8; depend on pandoc-types 1.8. | John MacFarlane | 1 | -2/+3 | |
The old TeX, HtmlInline and RawHtml elements have been removed and replaced by generic RawInline and RawBlock elements. All modules updated to use the new raw elements. | |||||
2011-01-23 | Textile writer: Don't HTML-escape between @'s. | John MacFarlane | 1 | -1/+1 | |
2011-01-23 | Textile reader: Fixed bug (swallowed p at beginning of paragraph). | John MacFarlane | 1 | -3/+3 | |
The problem was a missing 'try' in the maybeExplicitBlock parser. Test case, a paragraph beginning with 'p', has been added. | |||||
2011-01-23 | Textile reader: Support <tt> for inline code. | John MacFarlane | 1 | -3/+11 | |
2011-01-23 | Textile reader: Added code blocks with bc. | John MacFarlane | 1 | -2/+11 | |
2010-12-30 | Textile reader: Slight speed improvement. | John MacFarlane | 1 | -5/+5 | |
2010-12-30 | New HTML reader using tagsoup as a lexer. | John MacFarlane | 1 | -15/+15 | |
* The new reader is faster and more accurate. * API changes for Text.Pandoc.Readers.HTML: - removed rawHtmlBlock, anyHtmlBlockTag, anyHtmlInlineTag, anyHtmlTag, anyHtmlEndTag, htmlEndTag, extractTagType, htmlBlockElement, htmlComment - added htmlTag, htmlInBalanced, isInlineTag, isBlockTag, isTextTag * tagsoup is a new dependency. * Text.Pandoc.Parsing: Generalized type on readWith. * Benchmark.hs: Added length calculation to force full evaluation. * Updated HTML reader tests. * Updated markdown and textile readers to use the functions from the HTML reader. * Note: The markdown reader now correctly handles some cases it did not before. For example: <hr/> is reproduced without adding a space. <script> a = '<b>'; </script> is parsed correctly. | |||||
2010-12-09 | textile redcloth definition lists | paul.rivier | 1 | -2/+29 | |
2010-12-09 | Textile reader: better treatment of acronyms. | John MacFarlane | 1 | -1/+1 | |
We now parse PBS(Public Broadcasting System) as if it were "PBS (Public Broadcasting System)". | |||||
2010-12-08 | Textile reader: Implemented footnotes. | John MacFarlane | 1 | -4/+43 | |
2010-12-07 | Moved smartPunctuation from Markdown to Parsing. | John MacFarlane | 1 | -10/+5 | |
+ Parameterized smartPunctuation on an inline parser. + Handle smartPunctuation in Textile reader. | |||||
2010-12-07 | Textile reader: implemented acronyms, (tm), (r), (c). | John MacFarlane | 1 | -6/+29 | |
2010-12-03 | Textile reader: temporarily removed smartPunctuation. | John MacFarlane | 1 | -2/+2 | |
The smartPuncutation parser from the markdown parser was being used, but this creates two problems: * smart punctuation rules are slightly different in textile, for example, a single dash wish space around becomes an En dash. * the following gets parsed as a double quoted string followed by a colon, rather than as a link: "emphasized text":http://my.url.com This needs rethinking. | |||||
2010-12-03 | Textile reader: added hrule parser. | John MacFarlane | 1 | -0/+13 | |
2010-12-03 | Textile reader: Turn on smart punctuation by default. | John MacFarlane | 1 | -2/+2 | |
2010-12-03 | Textile reader: drop leading, trailing newline in pre block. | John MacFarlane | 1 | -2/+10 | |
This is consistent with how the other readers work. | |||||
2010-12-03 | Textile reader: modified str to handle acronyms, hyphens. | John MacFarlane | 1 | -3/+16 | |
* A single hyphen between two word characters is no longer a potential strikeout-starter. * Acronym explanations are dropped. | |||||
2010-12-03 | Textile reader: parse raw by default. | John MacFarlane | 1 | -0/+2 | |
It's part of the textile spec to allow raw HTML, just as with markdown. -R is no longer needed in test suite. | |||||
2010-12-03 | punctuation handling, and more html-specific handling | paul.rivier | 1 | -7/+31 | |
2010-12-03 | html inlines and html blocks handling in textile reader | Paul Rivier | 1 | -17/+26 | |
2010-12-03 | textile reader now ignores html/css attributes | Paul Rivier | 1 | -8/+34 | |
2010-12-03 | removed support for textile Inserted construct | Paul Rivier | 1 | -5/+1 | |
2010-12-03 | fix autolink by promoting it in the parser list, fix table parabreak | Paul Rivier | 1 | -7/+5 | |
2010-12-03 | more support for Textile reader (explicit links, images), tests and cabal ↵ | Paul Rivier | 1 | -17/+44 | |
entries | |||||
2010-12-03 | simpler table cell handling | paul.rivier | 1 | -24/+12 | |
2010-12-03 | preliminary material toward table support | paul.rivier | 1 | -1/+64 | |
2010-12-03 | textile reader now imports import Text.Pandoc.Parsing | paul.rivier | 1 | -1/+2 | |
2010-12-03 | Basic Textile Reader | paul.rivier | 1 | -0/+253 | |