Commit graph

9752 commits

Author SHA1 Message Date
John MacFarlane
7a924ec55a More code simp in pandoc.hs. 2017-10-27 20:58:54 -07:00
John MacFarlane
007236e8eb pandoc.hs - removed some cruft. 2017-10-27 20:39:20 -07:00
John MacFarlane
ff16db1aa3 Automatic reformating by stylish-haskell. 2017-10-27 20:28:29 -07:00
John MacFarlane
bf54a6335a Updated AUTHORS.md and changelog. 2017-10-27 16:29:16 -07:00
John MacFarlane
d039f231cb Improved documentation about markdown and gfm extensions. 2017-10-27 16:24:08 -07:00
John MacFarlane
a2a14f9029 Removed old adjacent_links test for docx reader.
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-27 16:09:44 -07:00
hftf
7f8a3c6cb7 Consistent underline for Readers (#2270)
* 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-27 18:45:00 -04:00
John MacFarlane
2ddf08641d
Merge pull request #3998 from ickc/proofread-2
changelog: minor typo fix
2017-10-27 18:24:32 -04:00
Kolen Cheung
383157f93d changelog: minor typo fix 2017-10-27 01:05:35 -07:00
John MacFarlane
00db1e8737 Merge pull request #3997 from ickc/proofread
Proofread on *.md
2017-10-27 02:00:06 -04:00
Kolen Cheung
0b09409385 update years in copyright 2017-10-26 22:57:13 -07:00
Kolen Cheung
3f0ceaf6ee Use CamelCase for JavaScript for uniformity
other instances when javascript is refered to in pandoc is also in CamelCase, the official casing of JavaScript.
2017-10-26 22:43:19 -07:00
Kolen Cheung
4bb54e0a56 .editorconfig: change tests/ to test/ as in 18ab864 2017-10-26 22:34:36 -07:00
Kolen Cheung
8ebf5c5f45 partially undo commit da1e626 2017-10-26 22:27:14 -07:00
Kolen Cheung
c03ce0f1cb partially undo b851c2a 2017-10-26 22:26:55 -07:00
Kolen Cheung
3eb65a5f0f CONTRIBUTING.md: update reference to a deprecated arg 2017-10-26 22:25:37 -07:00
John MacFarlane
535a95076e Update changelog 2017-10-26 20:25:10 -07:00
Kolen Cheung
da1e626500 doc/using-the-pandoc-api.md: proofread (minor) 2017-10-26 18:16:12 -07:00
Kolen Cheung
0e47094f82 doc/filters.md: add more links to pandoc filters in diff. lang. 2017-10-26 18:08:19 -07:00
Kolen Cheung
b851c2acdc CONTRIBUTING.md: general proofread
grammar, uniform style, etc.
2017-10-26 17:56:28 -07:00
Kolen Cheung
33ecec6525 CONTRIBUTING.md: sync a quote from MANUAL.txt 2017-10-26 17:55:45 -07:00
Kolen Cheung
b3607ec306 CONTRIBUTING.md: add links 2017-10-26 17:55:16 -07:00
John MacFarlane
70288a4e39 Fixed filters doc link 2017-10-26 16:59:16 -07:00
John MacFarlane
932fe007fc use skylighting 0.4.2 in stack.pkg.yaml. 2017-10-26 16:37:05 -07:00
John MacFarlane
7d60e9e0eb Bring MANUAL, README, and pandoc.cabal description in sync. 2017-10-26 16:30:37 -07:00
John MacFarlane
a9c9f39e12 Added Sascha Wilde to AUTHORS.md 2017-10-26 16:23:46 -07:00
John MacFarlane
e43408f74e Add creole support to manual. 2017-10-26 16:23:00 -07:00
Sascha Wilde
66fd3247ea Creole reader (#3994)
This is feature complete but not very thoroughly tested yet.
2017-10-26 19:19:28 -04:00
John MacFarlane
76886678a6 Use skylighting 0.4.2.
This prevents the problem with extra space around highlighted
code blocks (closes #3996).

Note that we no longer put an enclosing div around highlighted
code blocks.  The pre is the outer element, just as for unhighlighted
blocks.
2017-10-26 15:57:55 -07:00
John MacFarlane
9ff04a947e Small fix to API guide. 2017-10-26 11:39:02 -07:00
John MacFarlane
4cc215391c Finshed API guide. Closes #3289. 2017-10-26 11:35:34 -07:00
John MacFarlane
33eee0ceb8 Comment reformat. 2017-10-26 11:35:27 -07:00
John MacFarlane
424e94bd45 makePDF: add argument for pdf options, remove writerPdfArgs.
- Removed writerPdfArgs from WriterOptions (API change).
- Added parameter for pdf args to makePDF.
2017-10-26 11:11:45 -07:00
John MacFarlane
456148fe7e More API documentation. 2017-10-26 10:52:44 -07:00
John MacFarlane
57277efaf5 More work on using-the-pandoc-api.md. 2017-10-26 09:19:44 -07:00
John MacFarlane
e23d293915 More work on using-the-pandoc-api.md. 2017-10-25 17:05:37 -07:00
Albert Krewinkel
db715dc9d7
pandoc.lua: define default list attributes
The second argument of the OrderedList constructor, which should define
the list's attributes, is made optional. Default attributes are used if
the parameter is omitted.
2017-10-25 16:41:03 +02:00
John MacFarlane
50275957ff Small improvements in using-the-pandoc-api.md. 2017-10-24 22:49:05 -07:00
John MacFarlane
23fbf8a533 Text.Pandoc.App: export applyFilters, applyLuaFilters. (API change) 2017-10-24 22:46:06 -07:00
John MacFarlane
07bf48d07b More progress on using-the-pandoc-api.md. 2017-10-24 22:25:59 -07:00
John MacFarlane
f82bcc2bf3 Added some haddock docs for Text.Pandoc.Class functions. 2017-10-24 22:12:05 -07:00
John MacFarlane
f4365a6d1e Changed example in changelog. 2017-10-24 17:01:48 -07:00
John MacFarlane
8c0c4f954d Some work on using-the-pandoc-api.md. 2017-10-24 16:08:05 -07:00
John MacFarlane
b060343ea3 Updated changelog 2017-10-24 15:59:16 -07:00
John MacFarlane
ebc801cfc5 HTML reader: close td/th should close any open block tag...
Closes #3991.
2017-10-24 14:45:43 -07:00
John MacFarlane
38b5f24a66 HTML reader: td should close an open th or td. 2017-10-24 14:42:33 -07:00
John MacFarlane
ad2df0655e Revert "HTML reader: td or th implicitly closes blocks within last td/th."
This reverts commit d2c4243f89.
2017-10-24 14:32:51 -07:00
John MacFarlane
d2c4243f89 HTML reader: td or th implicitly closes blocks within last td/th. 2017-10-24 14:27:49 -07:00
John MacFarlane
513b16a71b Fenced divs: ensure that paragraph at end doesn't become Plain.
Added test case.
2017-10-24 09:53:29 -07:00
John MacFarlane
312db3b851 INSTALL.md: updated docs for the linux package. 2017-10-23 23:08:51 -07:00