Commit graph

62 commits

Author SHA1 Message Date
John MacFarlane
c26e3ab3f6 More trypandoc refinements. 2022-08-17 21:15:50 -07:00
John MacFarlane
3e74458143 trypandoc html: new look, do without bootstrap. 2022-08-17 19:58:47 -07:00
John MacFarlane
704a10a29e Minor trypandoc landing page improvements. 2022-08-17 12:44:19 -07:00
John MacFarlane
297e48661d server: Accept POST instead of GET at babelmark endpoint. 2022-08-08 08:35:32 -07:00
John MacFarlane
4e003e9cdb trypandoc Makefile revisions. 2022-08-07 23:15:24 -07:00
John MacFarlane
6b9da0cc96 pandoc-cgi:
Remove /batch endpoint; instead, behave differently if
passed an array of JSON objects.

Rename multidingus endpoint to babelmark.
2022-08-07 19:31:40 -07:00
John MacFarlane
87391feb02 Improve trypandoc index.html.
Use vanilla JS instead of jquery.
Use new pandoc-cgi interface.
2022-08-07 12:20:00 -07:00
John MacFarlane
5635ef9c57 Replace old trypandoc code with new pandoc-cgi.
This is based on servant. It is less hacky and more extensible.
2022-08-06 14:42:38 -07:00
John MacFarlane
a9f6ed2f97 Fix 'make trypandoc' target. 2022-01-12 22:33:56 -08:00
Albert Krewinkel
b7a44f9d19 Copyright notices: update for 2022 2022-01-02 11:59:22 -08:00
John MacFarlane
2894c10b28 Fix trypandoc so it builds with aeson > 2. 2021-10-29 09:50:32 -07:00
John MacFarlane
139376bbfb trypandoc: remove unneeded imports. 2021-03-02 10:03:52 -08:00
John MacFarlane
7e83686d31 trypandoc: add 2 second timeout. 2021-02-28 09:24:37 -08:00
Salim B
fae6a204f1
Fix/update URLs and use HTTP**S** where possible (#7122) 2021-02-26 17:56:04 -08:00
Albert Krewinkel
d202f7eb77
Avoid unnecessary use of NoImplicitPrelude pragma (#7089) 2021-02-07 10:02:35 -08:00
Albert Krewinkel
4f34345867
Update copyright notices for 2021 (#7012) 2021-01-08 09:38:20 -08:00
John MacFarlane
bed62fcf17 Fix trypandoc in response to d8ad766d17 2020-08-07 09:39:23 -07:00
Mike Tzou
349b5fd2ed
trypandoc: Add standalone option to the command text (#6210)
* trypandoc: Add standalone option to the command text

* trypandoc: Update 3rd party libraries

Those links are taken as-is from the library website.
2020-03-25 08:48:48 -07:00
Mike Tzou
525edb86c0
trypandoc: Add checkbox for standalone option (#6189) 2020-03-16 10:01:50 -07:00
Mike Tzou
225e7210f0
Improvements to trypandoc (#6188)
* Use "strict mode" for javascript code

* Fetch resources over https

Otherwise it will depend on the protocol of the webpage served which is
a bad idea.

* Remove unnecessary attributes

Those attributes are not required in HTML5.
2020-03-15 09:46:53 -07:00
Albert Krewinkel
11b5f1e40b
Update copyright year (#6186)
* Update copyright year

* Copyright: add notes for Lua and Jira modules
2020-03-13 09:52:47 -07:00
John MacFarlane
ef63ade26b trypandoc: add jira as input format. 2019-12-22 22:11:41 -08:00
John MacFarlane
e19ce31639 Fix trypandoc for Text changes. 2019-11-22 09:45:10 -08:00
zorkow
f792c7900b Changes in try pandoc 2019-10-09 14:30:25 -07:00
John MacFarlane
36a2df1d35 Fix trypandoc with getReader/getWriter changes. 2019-09-29 21:36:39 -07:00
John MacFarlane
d81b9f55c1 Add Jira in trypandoc 2019-06-11 22:24:32 -07:00
John MacFarlane
3c6d52df34 trypandoc: added some missing formats to drop-down list. 2019-02-10 15:03:30 -08:00
Arfon Smith
f27d029f0f Add JATS to output option on Try pandoc. (#5291) 2019-02-10 07:20:18 -08:00
Albert Krewinkel
37a82b0b11 Add missing copyright notices and remove license boilerplate (#5112)
Quite a few modules were missing copyright notices.

This commit adds copyright notices everywhere via haddock module
headers.  The old license boilerplate comment is redundant with this and has
been removed.

Update copyright years to 2019.

Closes #4592.
2019-02-04 13:52:31 -08:00
John MacFarlane
9366388c05 Fix CSS and viewport on try pandoc index.html. 2018-12-10 15:39:22 -08:00
John MacFarlane
9aaecce7d6 trypandoc: tweaked drop-down lists. 2018-11-04 11:22:25 -08:00
John MacFarlane
849a35643c Revert "Trypandoc: recompile on select rather than change."
This reverts commit f5ad280efb.
2018-11-04 11:19:16 -08:00
John MacFarlane
f5ad280efb Trypandoc: recompile on select rather than change. 2018-11-04 11:17:36 -08:00
John MacFarlane
22681b3a2a trypandoc: put link to site in footer. 2018-11-04 10:45:44 -08:00
John MacFarlane
553e364d0d trypandoc: preselect output format. 2018-11-04 10:43:38 -08:00
John MacFarlane
bf0e6ad4db trypandoc: update on change of in or out format. 2018-11-04 10:42:37 -08:00
John MacFarlane
0868e088be Trypandoc: add man input format. 2018-11-04 09:56:44 -08:00
Alexander Krotov
41cf6d540f More spellcheck 2018-07-02 19:07:28 +03:00
John MacFarlane
48f0e73c55 Added Prelude imports to sources in benchmark and trypandoc. 2018-03-18 11:52:40 -07:00
John MacFarlane
cc7f321592 trypandoc: add native. 2017-10-30 14:20:12 -07:00
John MacFarlane
562e92954c Add ms to trypandoc output formats. 2017-10-29 18:31:30 -07:00
John MacFarlane
69df271050 Improved menus for trypandoc. 2017-10-29 17:05:06 -07:00
Yuchen Pei
f09473eab7 minor updates to vimwiki reader. (#3759)
- updated comments in Vimwiki.hs to reflect current status of
implementation
- added vimwiki to trypandoc
2017-06-26 08:41:51 +02:00
John MacFarlane
743419af5c Readers.getReader, Writers.getWriter API change.
Now these functions return a pair of a reader/writer and an
Extensions, instead of building the extensions into the
reader/writer.  The calling code must explicitly set
readerExtensions or writerExtensions using the Extensions
returned.

The point of the change is to make it possible for the
calling code to determine what extensions are being used.

See #3659.
2017-06-24 13:47:10 +02:00
John MacFarlane
2108275ae7 trypandoc Makefile: fixed web destination in upload. 2017-06-23 11:17:45 +02:00
John MacFarlane
b3041de2fc Text.Pandoc.Writers.Math: export defaultMathJaxURL, defaultKaTeXURL.
This will ensure that we only need to update these in one place.
(Currently, for example, the mathjax URL is used in both
App and trypandoc.)

Closes #3685.
2017-06-19 11:10:29 +02:00
Alexander Krotov
a91b9b2a1d Add Muse reader (#3620) 2017-06-19 10:46:02 +02:00
John MacFarlane
fa719d0264 Switched Writer types to use Text.
* XML.toEntities: changed type to Text -> Text.
* Shared.tabFilter -- fixed so it strips out CRs as before.
* Modified writers to take Text.
* Updated tests, benchmarks, trypandoc.

[API change]

Closes #3731.
2017-06-11 00:46:31 +02:00
John MacFarlane
86282d6560 Fixed trypandoc to work with new API. 2017-06-10 21:38:08 +02:00
Alexander Krotov
d037c5019d Add Muse writer (#3489)
* Add Muse writer

* Advertise new Muse writer

* Muse writer: add regressions tests
2017-03-10 10:16:27 +01:00