Commit graph

9627 commits

Author SHA1 Message Date
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 ()
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 ).

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 . 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 .
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
John MacFarlane
ecb5475a2a Back to using [WARNING] and [INFO] to mark messages. 2017-10-23 23:01:37 -07:00
John MacFarlane
fda0c0119f Implemented fenced Divs.
+ Added Ext_fenced_divs to Extensions (default for pandoc Markdown).
+ Document fenced_divs extension in manual.
+ Implemented fenced code divs in Markdown reader.
+ Added test.

Closes .
2017-10-23 22:45:28 -07:00
John MacFarlane
896803b0d5 HTML reader: htmlTag improvements.
We previously failed on cases where an attribute contained a `>`
character. This patch fixes the bug.

Closes .
2017-10-23 17:29:32 -07:00
John MacFarlane
1a82ecbb68 More pleasing presentation of warnings and info messages.
!! warning
-- info
2017-10-23 15:00:11 -07:00
John MacFarlane
a27dc79073 Updated Glob upper bound. 2017-10-23 11:20:31 -07:00
John MacFarlane
cecf02e326 Fixed test for change in log level. 2017-10-23 11:20:22 -07:00
John MacFarlane
6d862ff954 Downgraded SkippedContent and DocxParserWarning from WARNING to INFO 2017-10-23 10:54:51 -07:00
John MacFarlane
cb63678517 Removed linux Dockerfile.alpine (main Dockerfile already alpine). 2017-10-23 09:24:46 -07:00
John MacFarlane
b4c6395001 Merge pull request from mb21/lettrine
LaTeX Reader: support \lettrine
2017-10-23 01:51:51 -04:00
John MacFarlane
33eff69047 Fixed make_tarball.sh to get VERSION set. 2017-10-22 21:41:23 -07:00
John MacFarlane
046e7b408a make_deb, make_tarball - fix default assignment of ARTIFACTS. 2017-10-22 21:19:17 -07:00
John MacFarlane
ccc09293c4 Updated linux Makefile to use alpine. 2017-10-22 15:05:29 -07:00
John MacFarlane
0463a57a5c Back to using alpine-based Dockerfile for linux build. 2017-10-22 15:04:49 -07:00
John MacFarlane
901c68a65f make_linux.sh tarball creation fix directory structure. 2017-10-22 14:50:42 -07:00
John MacFarlane
e720a44f68 Fixed bug in make_linux.sh path. 2017-10-22 14:30:49 -07:00
John MacFarlane
5a7a3f15d2 Linux package: new debian-based non-static build. 2017-10-22 14:29:20 -07:00
John MacFarlane
432be748ce Added linux/make_linux.sh.
This does a linux build and creates deb and tgz distributions.
2017-10-22 14:23:28 -07:00
John MacFarlane
6eb604095d Fixed detection of VERSION in make_macos_package.sh.
This broke when we uncapitalized cabal fields!
Now we get this from `pandoc --version`.
2017-10-22 14:22:53 -07:00
mb21
e2123a4033 LaTeX Reader: support \lettrine 2017-10-22 20:33:30 +02:00
mb21
05adbd6f19 LaTeX Reader: use opt function consistently 2017-10-22 20:33:30 +02:00
John MacFarlane
4aa84f4006 In rendering PandocParsecError, only print input at error location...
if the source name is `source` (i.e., the top level). Otherwise
results will be misleading, since what readM does is to look
up the source position of the error in the *original* input,
which may not match the input used by parseFromString or
in parsing from an included file.

Closes .  Not a great fix, maybe there's something better
that could be done, but this should at least avoid misleading
messages.
2017-10-21 21:54:38 -07:00
John MacFarlane
204776c0c4 Merge pull request from wilx/master
Support comments in Pandoc templates in Emacs pandoc-template-mode.
2017-10-22 00:24:11 -04:00
Vaclav Haisman
733ccbafc6 Support comments in Pandoc templates in Emacs pandoc-template-mode. 2017-10-22 01:16:03 +02:00
John MacFarlane
25590b1812 Updated changelog.
11,681 words!
2017-10-21 12:15:00 -07:00
John MacFarlane
5164ecd0ec SelfContained: data-background-image instead of data-background.
Really closes .
2017-10-20 23:16:53 -07:00