Commit Graph

336 Commits (e7e5bd7c7fe8f051644a23422f9df17a6b505c00)

Author SHA1 Message Date
ilia-kats 02134d29d5 use the minted jlcon lexer for terminal mode (#205) 2019-06-27 09:00:43 +03:00
Sebastian Pfitzner ed41be610a
Merge pull request #221 from thofma/master
Add html rendering of Markdown tables
2019-06-26 12:10:46 +02:00
Tommy Hofmann 1c0506342e Add html rendering of Markdown tables 2019-06-26 11:19:11 +02:00
Sebastian Pfitzner 9f664ba5a6
Merge pull request #202 from tshort/hook-fix
Fix hooks and add a push/pop hook to the test
2019-06-25 18:10:38 +02:00
Tamas Nagy df7f0d1f3c
Merge pull request #215 from Oblynx/patch-1
Fix mpastell/Weave.jl#214
2019-06-19 10:39:37 -07:00
Arnav Sood 5d3e05511e allow configuration of jupyter command while weaving notebooks, fixes #194
* notebook refactor and tests

* update PR

* add jupyter test jmd

* add back full warnings and remove debugging output

* Update test filename [ci skip]

* Conda for CI

* update for CI?

* remove Conda, IJulia, and tests for now

* Project.toml changes suggested by tinagly

* revive travis tests

* comment out nb tests
2019-06-19 10:26:13 -07:00
Konstantinos Samaras-Tsakiris ea1de0fb9e
Fix mpastell/Weave.jl#214
Fixes incorrect UTF-8 string handling as described in https://github.com/mpastell/Weave.jl/issues/214.
2019-06-04 21:02:40 +03:00
tshort bd69ef1f59 Fix hooks and add a push/pop hook to the test 2019-04-27 13:17:29 -04:00
Matti Pastell 95e860816c Restore .ps and .js.svg to Gadfly 2019-03-11 15:13:30 +02:00
Matti Pastell 99db6a9406 Actually fix include_weave 2019-03-11 14:25:17 +02:00
Matti Pastell 8194c8a1b8 Fix `include_weave`. Closes #152. 2019-03-11 14:05:06 +02:00
Matti Pastell 83e2e0ae20 Add tests for inline code 2019-03-11 13:39:21 +02:00
Matti Pastell 35addd2b50 Fixes to option parsing, gadfly pdf, stripping header, add tests 2019-03-11 10:23:31 +02:00
Matti Pastell 4338fc4b07 Make out_path and template path relative to document 2019-03-10 22:53:00 +02:00
Matti Pastell 6f83f1abf5 Add example beamer document 2019-03-10 20:10:30 +02:00
Matti Pastell 3488af5534 Add docs for inline output, make figure output inline 2019-03-10 19:23:18 +02:00
Matti Pastell 4ab1c09b8c Allow using MustacheTokens as template directly 2019-03-10 17:51:19 +02:00
Matti Pastell e7a10eacdc Don't use isnothing 2019-03-10 17:20:43 +02:00
Matti Pastell 37aa0237a8 Add new syntax for inline code and fix output in md2* formats 2019-03-06 22:27:47 +02:00
Matti Pastell 1de36fd1f5 Fix Jupyter header 2019-03-06 10:41:31 +02:00
Matti Pastell 4e70d32901 Don't run latex on travis 2019-03-05 20:18:58 +02:00
Matti Pastell 6082786f92 Allow setting document options in YAML header 2019-03-05 19:36:27 +02:00
Matti Pastell 52f3a23d28 Allow format specific options in header 2019-03-05 16:44:10 +02:00
Matti Pastell e9ea54bc1b Allow setting options in document header. Closes #189 2019-03-04 11:10:02 +02:00
Matti Pastell a14b7a8f80 Return weaved file path from weave function. Closes #190 2019-03-04 09:45:30 +02:00
Matti Pastell edd558de0e Add support for comments in Markdown. Closes #97 2019-02-28 16:17:03 +02:00
Matti Pastell 710b67ca45 Add markdown flavor for improved math support. Closes #182 2019-02-27 18:21:05 +02:00
Matti Pastell f2773376d9 Merge branch 'noalign' 2019-02-27 16:43:15 +02:00
Matti Pastell 6a30aa20f2 Remove align environment from math output #182 2019-02-27 16:42:51 +02:00
Matti Pastell 73584edd34 Strip ANSI from text output #184 2019-02-27 16:19:14 +02:00
Matti Pastell 8d1bb63b0a Render markdown output in md2* formats. Fixes #156 2019-02-27 15:03:33 +02:00
Matti Pastell e52083c42a Display assigned objects from chunk's last line 2019-02-27 12:42:43 +02:00
Matti Pastell 056db5141a Add option to skip chunks in notebook 2019-02-27 10:15:56 +02:00
Matti Pastell bad5650027 Fix \bf and \frak symbols in md2tex. Improves #181 2019-02-26 17:38:28 +02:00
Toby Driscoll 26cf943d25 New output css class for md2html (#172)
* New output css class for md2html

* margins and padding taken from Highlights.jl
2019-02-26 09:16:27 +02:00
Matti Pastell 6e0daf9335 Render header in notebooks, fixes #179 2019-02-26 09:12:28 +02:00
Matti Pastell 7587b4f9cf
Fix line wrapping (#180)
* Fix line wrapping

* Don't chop from tail

* Test wrapping unicode
2019-02-26 00:09:40 +02:00
Matti Pastell cb791e8b69 Fix notebook support. Closes #173 2019-02-25 19:46:25 +02:00
Christopher Rackauckas 73f0e1e998 Remove precompile statement (#177) 2019-02-25 19:29:02 +02:00
schrimpf adf7338f34 Allow errors (#174)
* Added ability to pass aditional options to nbconvert. Main purpose is
to pass "--allow-errors"

* Changed IJulia.jupyter to IJulia.JUPYPTER to match change in IJulia.jl
2019-02-25 19:24:01 +02:00
Matti Pastell f1a85d3726 Merge branch 'master' of https://github.com/mpastell/Weave.jl 2019-02-08 16:03:23 +02:00
Matti Pastell 4a7d63bc7e Clean up and fix svg embedding 2019-02-08 16:01:25 +02:00
Tamas Nagy caf64b2407 [WIP] Add Gadfly support back (#163)
* add back gadfly support

* fix svg embed encoding
2019-02-07 19:28:06 +02:00
Dave Kleinschmidt 4bf8e0e209 check fig_ext to choose preferred mimetype in display(::Report, d) 2019-02-01 10:59:39 -05:00
Dave Kleinschmidt d0c71ba556 use Base.show (#165)
* use Base.show

* drop offending show method altogether
2019-01-28 16:20:03 +02:00
schrimpf ab09bddcd8 change cache to work with figures (#158)
* Changed read/write cache to use serialize/deserialize instead of
JLD2. JLD2 fails to save strings longer than 2^16 characters, which
can occur in the stringmime() of large figures.

* Added test for cache with figures and html output.
Updated REQUIRE & Project.toml to include Serialization instead of
FileIO and JLD2

* Added "Import Pkg;" to expected output of errors, so that tests pass.
2019-01-03 15:40:32 +02:00
Matti Pastell bf57bf8a07
Use align for ```math blocks (#143)
* Use align for ```math blocks
* Fix deprecation from inline parsing
* Update tests
2018-08-23 08:22:08 +03:00
Matti Pastell 246f7eef62 Remove tmp directories from md2pdf output, closes #140 2018-08-17 13:12:37 +03:00
Matti Pastell 341edd3784 Allow custom fields in templates, closes #100 2018-07-27 14:39:53 +03:00
Matti Pastell 4cd0b92792 Fix pandoc support, add raw options to pandoc requires pandoc 2. Closes #132. 2018-07-27 14:18:33 +03:00