46 Commits

Author SHA1 Message Date
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
John MacFarlane 661f1adedb Adjustments for building trypandoc with stack. 2017-01-29 22:01:11 +01:00
John MacFarlane ea684d257e Fixed trypandoc. 2017-01-29 20:52:57 +01:00
John MacFarlane 43382cead2 trypandoc: call results 'html' instead of 'result'.
This is for better compatibility with babelmark2.
2016-06-07 23:37:48 -07:00
John MacFarlane 5f97abc154 trypandoc: sort drop-down lists. 2015-12-07 09:15:49 -08:00
John MacFarlane b59d0fb6bd Adjusted trypandoc makefile for use of sandbox. 2015-11-15 14:21:51 -08:00
John MacFarlane 706589b594 Misc. fixes to trypandoc html. 2015-06-02 03:38:31 -07:00
John MacFarlane 1ebfa6bb84 trypandoc: move Convert button, display raw command. 2015-06-02 12:08:03 +02:00
John MacFarlane d9e5d9fe06 More fixes to trypandoc. 2015-05-27 21:21:26 -07:00
John MacFarlane 38c02f6985 Fixes to trypandoc fixes. 2015-05-27 21:19:59 -07:00
John MacFarlane 17b4066d67 trypandoc - fixes for new API. 2015-05-27 21:18:17 -07:00
Tom Leese 3dba66bf5d Replace occurrences of 'Github' with 'GitHub'
The website is called 'GitHub' afterall.
2015-03-16 09:28:45 +00:00
John MacFarlane 886cc0dd36 Added trypandoc flag to build trypandoc cgi executable.
Supporting files are in trypandoc/.
2014-08-17 16:11:09 -07:00