aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-10-29Makefile: make SOURCEFILES overridable for make lint, make format.John MacFarlane1-3/+3
2017-10-29Add .hlint.yamlJohn MacFarlane1-0/+72
2017-10-29Small reformat.John MacFarlane1-1/+1
2017-10-29Use uncurry.John MacFarlane1-1/+1
2017-10-29More hlint fixes.John MacFarlane6-58/+54
2017-10-29Update changelog.John MacFarlane1-0/+2
2017-10-29Write FB2 lists without nesting blocks inside <p> (#4004)Alexander3-99/+119
According to FB2 XML schema <empty-line /> cannot be placed inside <p>. Linux FBReader can't display such paragraphs, e.g. any "loose" lists produced by pandoc prior to this commit. Besides that, FB2 writer placed <p> inside <p> when writing nested lists, this commit fixes the bug. Also this commit removes leading non-breaking space from ordered lists for consistency with bullet lists. Definition lists are not affected at all.
2017-10-29Creole reader (#4002)Sascha Wilde3-0/+236
* Basic skeleton for creole reader. No real functionality besides preliminary bold and italics yet. * Creole: add support for bold/italic with implicit end at paragraph end. * Creole: add support for headings. * Creole: add support for tilde escaped chars. * Basic skeleton for creole reader. No real functionality besides preliminary bold and italics yet. * Creole: add support for bold/italic with implicit end at paragraph end. * Creole: add support for headings. * Creole: add support for tilde escaped chars. * Add a test suite for the creole parser So far this covers only things the parser already supports. * Added simple parsing of flat unordered lists. * Added tests for unordered lists in creole. * First, wrong(!) implementation of sublists. Fails test, as sublists should not be embedded in a list item! * Implementation of unordered sublists. * Added support for ordered lists to creole reader. * Added utility function to append parsers to Creole reader. * Creole reader: Fixed list item end detection in sub lists. * Tests for creole reader: added more tests for lists. Covering ordered and unordered tests, even mixed. Tests for formatting in list items still missing... * Added "nowiki" blocks. One exception rule is missing... * Creole reader: nowiki: implemented exception for curly brackets. * Creole reader: added inline nowiki. * Creole reader: added horizontalRule. * Creole reader: added auto linking of URIs. * Creole reader: detect horizontalRule as para end. Used the opportunity for a little refactoring. * Creole reader: added forced line breaks. Including test. * Creole reader: implement wiki links. * Creole reader: added image support. * Creole reader: support images as links. * Creole reader: implemented placeholder -- by simply dropping them. * Creole reader: added tests for links. After observing a regression, it was really time... ;-) * Creole reader: fixed links with names. * Creole reader: allow space after first of enclosing tags. Space after the start of formatting tags are allowed with creole, e.g. "there is // italic text // in here" is legal. This problem was discovered using the creole1.0test.txt document from http://www.wikicreole.org/wiki/Creole1.0TestCases See l.57: # // italic item 3 // * Creole reader: fixed links without names. * Creole reader: Tests, sorted into groups. * Creole reader: implemented tables. * Removed redundant import. * Creole reader: add correct escaping of links. * Creole reader: allow handling of e.g. links in parenthesis and quotes. * Creole reader: Modified disclaimer as most of the code is actually by me. * Creole reader: Tests: added escaped links. * Creole reader: preserve leading and trailing space in bold/italic. * Creole reader: detect tables without a leading blank line. * Creole Reader: added official creole1.0test.txt as "old" test. The base document was downloaded from http://www.wikicreole.org/wiki/Creole1.0TestCases. The Wiki, and therefore the test document is Copyright (C) by the contributors. Some rights reserved, license CC BY-SA. http://creativecommons.org/licenses/by-sa/1.0/
2017-10-28Use latest pandoc-citeproc release for binary package.John MacFarlane1-4/+1
2017-10-28Fix warning for older GHC versions.John MacFarlane1-1/+1
2017-10-28Try to fix imports for older ghc.John MacFarlane1-1/+1
2017-10-28Changelog mis-spellings.John MacFarlane1-2/+2
2017-10-28Change order of imports to satisfy older ghc.John MacFarlane1-1/+1
2017-10-27Changelog: note on --pdf-engine-optJohn MacFarlane1-1/+2
2017-10-27Update man/pandoc.1.John MacFarlane1-25/+98
2017-10-27Update date on MANUAL.txtJohn MacFarlane1-1/+1
2017-10-27hlint suggestions.John MacFarlane33-340/+307
2017-10-27Don't rely on syb when we don't need to.John MacFarlane3-3/+3
2017-10-27Removed unnecessary build-deps.John MacFarlane1-7/+2
2017-10-27hlint changes.John MacFarlane9-126/+118
2017-10-27hlint suggestions.John MacFarlane1-1/+1
2017-10-27hlint suggestions.John MacFarlane1-9/+8
2017-10-27hlint suggestions.John MacFarlane4-8/+7
2017-10-27More code simp in pandoc.hs.John MacFarlane1-1/+1
2017-10-27pandoc.hs - removed some cruft.John MacFarlane1-6/+2
2017-10-27Automatic reformating by stylish-haskell.John MacFarlane79-601/+607
2017-10-27Updated AUTHORS.md and changelog.John MacFarlane2-3/+11
2017-10-27Improved documentation about markdown and gfm extensions.John MacFarlane1-8/+25
2017-10-27Removed old adjacent_links test for docx reader.John MacFarlane3-5/+0
See #2270 for background -- this test blocked the consistent underline change and was hard to revise, so for now we are removing it.
2017-10-27Consistent underline for Readers (#2270)hftf14-15/+39
* Added underlineSpan builder function. This can be easily updated if needed. The purpose is for Readers to transform underlines consistently. * Docx Reader: Use underlineSpan and update test * Org Reader: Use underlineSpan and add test * Textile Reader: Use underlineSpan and add test case * Txt2Tags Reader: Use underlineSpan and update test * HTML Reader: Use underlineSpan and add test case
2017-10-27Merge pull request #3998 from ickc/proofread-2John MacFarlane1-3/+3
changelog: minor typo fix
2017-10-27changelog: minor typo fixKolen Cheung1-3/+3
2017-10-27Merge pull request #3997 from ickc/proofreadJohn MacFarlane15-45/+50
Proofread on *.md
2017-10-26update years in copyrightKolen Cheung6-9/+9
2017-10-26Use CamelCase for JavaScript for uniformityKolen Cheung5-6/+6
other instances when javascript is refered to in pandoc is also in CamelCase, the official casing of JavaScript.
2017-10-26.editorconfig: change tests/ to test/ as in 18ab864Kolen Cheung1-1/+1
2017-10-26partially undo commit da1e626Kolen Cheung1-2/+2
2017-10-26partially undo b851c2aKolen Cheung1-1/+1
2017-10-26CONTRIBUTING.md: update reference to a deprecated argKolen Cheung1-1/+1
2017-10-26Update changelogJohn MacFarlane1-0/+13
2017-10-26doc/using-the-pandoc-api.md: proofread (minor)Kolen Cheung1-3/+3
2017-10-26doc/filters.md: add more links to pandoc filters in diff. lang.Kolen Cheung1-2/+4
2017-10-26CONTRIBUTING.md: general proofreadKolen Cheung1-12/+10
grammar, uniform style, etc.
2017-10-26CONTRIBUTING.md: sync a quote from MANUAL.txtKolen Cheung1-4/+4
2017-10-26CONTRIBUTING.md: add linksKolen Cheung1-10/+15
2017-10-26Fixed filters doc linkJohn MacFarlane1-1/+1
2017-10-26use skylighting 0.4.2 in stack.pkg.yaml.John MacFarlane1-1/+1
2017-10-26Bring MANUAL, README, and pandoc.cabal description in sync.John MacFarlane3-17/+18
2017-10-26Added Sascha Wilde to AUTHORS.mdJohn MacFarlane1-0/+1
2017-10-26Add creole support to manual.John MacFarlane1-8/+10